summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/fifo-cronolog@.service')
-rw-r--r--systemd/fifo-cronolog@.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd/fifo-cronolog@.service b/systemd/fifo-cronolog@.service
new file mode 100644
index 0000000..0ab0962
--- /dev/null
+++ b/systemd/fifo-cronolog@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=fifo-cronolog.%i
+[Service]
+Type=forking
+EnvironmentFile=/etc/systemd-env/%n.env
+PIDFile=/run/%N.pid
+ExecStartPre=/usr/sbin/fifo-cronolog-setup $FIFO $FIFO_OWNER $FIFO_PERMS
+ExecStart=/usr/sbin/fifo-cronolog /run/%N.pid $FIFO $LOGS
+[Install]
+WantedBy=multi-user.target