Create new daemon on VPS?

vps

#1

I’m running Laravel on my VPS but I am also trying to use websockets for real-time notifications.

The websocket server will only run when a terminal is open at the moment so I want to run it in the background as a deamon. Unfortunately, I cannot create a new daemon in /etc/init.d because permission is denied.

I know supervisord could also solve my problem, but again any adjustments result in a permissions error.

I’ve done a lot of searching but cannot find any solutions.

Any tip in the right direction would be very helpful.

Thanks!