friendica-github/mods/sample-systemd.service
2025-01-05 23:13:39 +01:00

9 lines
330 B
Desktop File

[Unit]
Description=Friendica Worker
[Service]
#User should be the same as the user the webserver runs under, typically http or www
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/console.php worker &