Webcam doesn't run on tartup

Camera model
A cheap one I found on amazon made by "iMXPW" link if needed
What is the problem?
I set it up to run on startup, same as the octoprint service, only problem is OP runs fine, by the streamer service doesn't
What did you already try to solve it?
Tried completely deleting everything in mjpg-streamer, then reinstalling it, no change.
Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support)
Not sure if I did something wrong, I don't see webcamd.log in the directory. But here's webcam file (can't insert it so here's a drive link) webcamdaemon and rc.local
Additional information about your setup (OctoPrint version, OctoPi version, ...)
I'm using ubuntu on an HP desktop, manual setup so I didn't use OctoPi, but my Ubuntu version is 20.04.3

Looks like the username is wrong in the webcam file, /home/p/... -> /home/pi/...:

#!/bin/bash
# Start / stop streamer daemon

case "$1" in
    start)
        /home/p/scripts/webcamDaemon >/dev/null 2>&1 &
        echo "$0: started"
        ;;
    stop)
        pkill -x webcamDaemon
        pkill -x mjpg_streamer
        echo "$0: stopped"
        ;;
    *)
        echo "Usage: $0 {start|stop}" >&2
        ;;
esac

Ok, update, I think everything is good, but in /etc/hostname, the guide put octolinux, but not sure if it's device specific. What do I put? (below is what's in /etc/hostname

127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

The following lines are desirable for IPv6 capable hosts

::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

127.0.1.1 octolinux

The hostname is up to you - it's how your device will identify itself to the network. It can be whatever you want.