summarylogtreecommitdiffstats
path: root/p-rout-collect.service
diff options
context:
space:
mode:
authorBert Burgemeister2015-08-28 06:27:49 +0200
committerBert Burgemeister2015-08-28 06:27:49 +0200
commitc1806116a62cf87841d3444b1fdff6a1dd75d331 (patch)
treebfea295ee2a0bfd798b88bd68980205208367a4a /p-rout-collect.service
downloadaur-p-rout-git.tar.gz
Reviving deleted package
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