]> git.mxchange.org Git - friendica.git/commitdiff
.service file for systemd unit
authorben-utzer <r@schmitz.pro>
Wed, 4 Apr 2018 08:54:28 +0000 (14:24 +0530)
committerGitHub <noreply@github.com>
Wed, 4 Apr 2018 08:54:28 +0000 (14:24 +0530)
mods/sample-systemd.service [new file with mode: 0644]

diff --git a/mods/sample-systemd.service b/mods/sample-systemd.service
new file mode 100644 (file)
index 0000000..a3c350f
--- /dev/null
@@ -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 &