From 3d1dead13b5f3d7674b98a3f8684686d8fbc681e Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 21 Jul 2021 12:47:30 +0200 Subject: Initial Systemd Service Run: 2/3 Signed-off-by: Georg --- systemd/kfcgi.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 systemd/kfcgi.service (limited to 'systemd/kfcgi.service') diff --git a/systemd/kfcgi.service b/systemd/kfcgi.service new file mode 100644 index 0000000..f9027f8 --- /dev/null +++ b/systemd/kfcgi.service @@ -0,0 +1,14 @@ +[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 -- cgit v1.2.3