summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-05-15 01:12:47 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-05-15 01:12:47 (GMT)
commitf8d5b04498bb9f9eea79f815c9ec4baf08311cb1 (patch)
treecebb55461367597f70b30cd0e5d10485a7c98605
parent69d7dfd7bf2b42391f827b81bd0041a0339830cc (diff)
fixed systemd unit files
-rw-r--r--debian/changelog10
-rw-r--r--debian/rhnop-client.nopsyncd@.service4
-rw-r--r--debian/rhnop-client.nopsysstated.service4
-rw-r--r--debian/rhnop-server.nopfetchd.service4
4 files changed, 17 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index e4a4696..52ac133 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,17 @@
-rhnop (0.13-1) UNRELEASED; urgency=medium
+rhnop (0.13-2) unstable; urgency=medium
+
+ * fixed systemd unit files (User=, Group=, Restart=)
+
+ -- Christian Pointner <equinox@spreadspace.org> Fri, 15 May 2015 03:12:23 +0200
+
+rhnop (0.13-1) unstable; urgency=medium
* renamed daemons:
nopsyncd -> nopfetchd
nopcollectd -> nopsyncd
* make nopsyncd system unit a template
- -- Christian Pointner <equinox@spreadspace.org> Fri, 15 May 2015 02:24:06 +0200
+ -- Christian Pointner <equinox@spreadspace.org> Fri, 15 May 2015 03:11:44 +0200
rhnop (0.12-1) unstable; urgency=medium
diff --git a/debian/rhnop-client.nopsyncd@.service b/debian/rhnop-client.nopsyncd@.service
index 2f2b65a..153a39b 100644
--- a/debian/rhnop-client.nopsyncd@.service
+++ b/debian/rhnop-client.nopsyncd@.service
@@ -2,8 +2,10 @@
Description=Radio Helsinki Now Playing Daemon (Client: %i)
[Service]
+User=rhnop
+Group=rhnop
ExecStart=/usr/bin/nopsyncd %i
-Restart=on-failure
+Restart=always
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
diff --git a/debian/rhnop-client.nopsysstated.service b/debian/rhnop-client.nopsysstated.service
index 9056db4..ca3e5d3 100644
--- a/debian/rhnop-client.nopsysstated.service
+++ b/debian/rhnop-client.nopsysstated.service
@@ -2,8 +2,10 @@
Description=Radio Helsinki Playout State Daemon
[Service]
+User=rhnop
+Group=rhnop
ExecStart=/usr/bin/nopsysstated
-Restart=on-failure
+Restart=always
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
diff --git a/debian/rhnop-server.nopfetchd.service b/debian/rhnop-server.nopfetchd.service
index efafabb..82df136 100644
--- a/debian/rhnop-server.nopfetchd.service
+++ b/debian/rhnop-server.nopfetchd.service
@@ -2,8 +2,10 @@
Description=Radio Helsinki Now Playing Daemon (Server)
[Service]
+User=rhnop
+Group=rhnop
ExecStart=/usr/bin/nopfetchd
-Restart=on-failure
+Restart=always
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full