.service file for systemd unit
This commit is contained in:
parent
64ea49788e
commit
eb5404740a
1 changed files with 8 additions and 0 deletions
8
mods/sample-systemd.service
Normal file
8
mods/sample-systemd.service
Normal file
|
@ -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 &
|
Loading…
Reference in a new issue