system/systemd/kfcgi.service

15 lines
623 B
SYSTEMD
Raw Normal View History

[Unit]
Description=kfcgi server for scooper
After=litterbox@.service var-lib-pounce-.local-dev.mount var-lib-pounce-.local-usr.mount var-lib-pounce-.local-lib.mount var-lib-pounce-.local-lib64.mount
Requires=litterbox@.service var-lib-pounce-.local-dev.mount var-lib-pounce-.local-usr.mount var-lib-pounce-.local-lib.mount var-lib-pounce-.local-lib64.mount
Wants=network.target
[Service]
User=root
Group=pounce
ExecStart=/usr/local/sbin/kfcgi -d -n 8 -l 16 -u nginx -s /var/run/kfcgi/scooper.sock -U pounce -p /var/lib/pounce/.local -- /bin/scooper /share/litterbox/litterbox.sqlite
[Install]
WantedBy=multi-user.target