summaryrefslogtreecommitdiff
path: root/debian/rhnop-client.nopcollectd-master.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rhnop-client.nopcollectd-master.service')
-rw-r--r--debian/rhnop-client.nopcollectd-master.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/rhnop-client.nopcollectd-master.service b/debian/rhnop-client.nopcollectd-master.service
new file mode 100644
index 0000000..154e374
--- /dev/null
+++ b/debian/rhnop-client.nopcollectd-master.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Radio Helsinki Now Playing Daemon (Client: Master)
+
+[Service]
+ExecStart=/usr/bin/nopcollectd master
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-failure
+PrivateTmp=yes
+PrivateDevices=yes
+ProtectSystem=full
+ProtectHome=yes
+
+[Install]
+WantedBy=multi-user.target