friendica-github/mods/sample-systemd.service

10 lines
322 B
SYSTEMD
Raw Normal View History

2018-04-04 08:54:28 +00:00
[Unit]
Description=Friendica Worker
[Service]
2018-04-04 09:24:07 +00:00
#User should be the same as the user the webserver runs under, typically http or www
2018-04-04 08:54:28 +00:00
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 &