summaryrefslogtreecommitdiff
path: root/debian/rhimportd.service
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-01-05 19:22:29 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-01-05 19:22:29 (GMT)
commit10bf1718430a5321c48c23ada0c6f827c1b36f86 (patch)
tree3ac7c453072623a1e91f4ad47787fea9d24da1ee /debian/rhimportd.service
parentc2ca0aff971999821b23faa5db42e1ea0f81c2ca (diff)
added initial packaging
Diffstat (limited to 'debian/rhimportd.service')
-rw-r--r--debian/rhimportd.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/rhimportd.service b/debian/rhimportd.service
new file mode 100644
index 0000000..f821c38
--- /dev/null
+++ b/debian/rhimportd.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=Radio Helsinki Rivendell Import Daemon
+
+[Service]
+User=rhimportd
+Group=rhimportd
+EnvironmentFile=/etc/rhimportd.config
+ExecStart=/usr/bin/rhimportd
+Restart=always
+RestartSec=1s
+StartLimitInterval=5
+StartLimitBurst=6
+PrivateTmp=yes
+PrivateDevices=yes
+ProtectSystem=full
+ProtectHome=yes
+
+[Install]
+WantedBy=multi-user.target