From: ben-utzer Date: Wed, 4 Apr 2018 08:54:28 +0000 (+0530) Subject: .service file for systemd unit X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eb5404740a5a485a7b92b08cf06749d8c44535bf;p=friendica.git .service file for systemd unit --- diff --git a/mods/sample-systemd.service b/mods/sample-systemd.service new file mode 100644 index 0000000000..a3c350ff54 --- /dev/null +++ b/mods/sample-systemd.service @@ -0,0 +1,8 @@ +[Unit] +Description=Friendica Worker + +[Service] +User=http +#Adapt the path in the following line to your system, use 'which php' to find php path, +#provide the absolute path for worker.php +ExecStart=/usr/bin/php /www/path/bin/worker.php &