summarylogtreecommitdiffstats
path: root/p-rout-collect.service
diff options
context:
space:
mode:
Diffstat (limited to 'p-rout-collect.service')
-rw-r--r--p-rout-collect.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/p-rout-collect.service b/p-rout-collect.service
new file mode 100644
index 000000000000..91a05715f673
--- /dev/null
+++ b/p-rout-collect.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=P-rout-collect Daemon
+Requires=postgresql.service
+After=network.target postgresql.service
+
+[Service]
+Type=forking
+PIDFile=/var/run/p-rout/p-rout-collect.pid
+ExecStart=/usr/bin/p-rout-collect.scm
+ExecStopPost=/bin/rm -f /var/run/p-rout/p-rout-collect.pid
+
+[Install]
+WantedBy=multi-user.target