summaryrefslogtreecommitdiff
path: root/debian/rhimportd.service
diff options
context:
space:
mode:
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