summaryrefslogtreecommitdiffstats
path: root/systemd/litterbox@.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/litterbox@.service')
-rw-r--r--systemd/litterbox@.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/systemd/litterbox@.service b/systemd/litterbox@.service
new file mode 100644
index 0000000..85f0e92
--- /dev/null
+++ b/systemd/litterbox@.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=litterbox for %i
+After=pounce@%i.service
+Requires=pounce@%i.service
+Wants=network.target
+
+[Service]
+User=pounce
+Group=pounce
+ExecStart=/usr/local/bin/litterbox /var/lib/pounce/.config/litterbox/%i
+Restart=always
+RestartSec=15
+SyslogIdentifier=litterbox-%i
+
+[Install]
+WantedBy=multi-user.target