Matomo Analytics

In order for you to run a script as daemon you can easily create a bash file and run that. Let's take Laravel Echo Server in this example.

Create a new script called socket.sh and enter these contents:

#!/usr/bin/env bash

laravel-echo-server start

Then you can run that script in your daemons tab, just enter the path like: /home/ploi/domain.com/socket.sh:

13 May 2020 (last updated 4 years ago)

4776 views

Written by Dennis

Dennis brings over 6 years of hands-on experience in server management, specializing in optimizing web services for scalability and security.

Back to Server


Start free trial