friendica_2021-01/mods/sample-systemd.service

9 lines
237 B
SYSTEMD
Raw Normal View History

2018-04-04 10:54:28 +02:00
[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 &