summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-05-22 17:44:50 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-05-22 17:44:50 (GMT)
commit09f1950cae30ce99f50bf51a7d11040221f66b7b (patch)
tree952d17a59c6675637ae008eacc079f548f3587f5
parent1f088370104cce2c8299afb7fb065a6f3127d94c (diff)
systemd unit files configured to inifinte restart
-rw-r--r--debian/rhnop-client.nopsyncd@.service3
-rw-r--r--debian/rhnop-client.nopsysstated.service3
-rw-r--r--debian/rhnop-server.nopfetchd.service3
3 files changed, 9 insertions, 0 deletions
diff --git a/debian/rhnop-client.nopsyncd@.service b/debian/rhnop-client.nopsyncd@.service
index 153a39b..40ae939 100644
--- a/debian/rhnop-client.nopsyncd@.service
+++ b/debian/rhnop-client.nopsyncd@.service
@@ -6,6 +6,9 @@ User=rhnop
Group=rhnop
ExecStart=/usr/bin/nopsyncd %i
Restart=always
+RestartSec=1s
+StartLimitInterval=5
+StartLimitBurst=6
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
diff --git a/debian/rhnop-client.nopsysstated.service b/debian/rhnop-client.nopsysstated.service
index ca3e5d3..bef6909 100644
--- a/debian/rhnop-client.nopsysstated.service
+++ b/debian/rhnop-client.nopsysstated.service
@@ -6,6 +6,9 @@ User=rhnop
Group=rhnop
ExecStart=/usr/bin/nopsysstated
Restart=always
+RestartSec=1s
+StartLimitInterval=5
+StartLimitBurst=6
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
diff --git a/debian/rhnop-server.nopfetchd.service b/debian/rhnop-server.nopfetchd.service
index 82df136..df3f019 100644
--- a/debian/rhnop-server.nopfetchd.service
+++ b/debian/rhnop-server.nopfetchd.service
@@ -6,6 +6,9 @@ User=rhnop
Group=rhnop
ExecStart=/usr/bin/nopfetchd
Restart=always
+RestartSec=1s
+StartLimitInterval=5
+StartLimitBurst=6
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full