From eb5404740a5a485a7b92b08cf06749d8c44535bf Mon Sep 17 00:00:00 2001 From: ben-utzer Date: Wed, 4 Apr 2018 14:24:28 +0530 Subject: [PATCH] .service file for systemd unit --- mods/sample-systemd.service | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 mods/sample-systemd.service 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 &