]> git.mxchange.org Git - friendica.git/blobdiff - mods/sample-systemd.service
.service file for systemd unit
[friendica.git] / mods / sample-systemd.service
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 &