aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-08-14 10:06:09 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-08-14 10:06:09 +0200
commit255cfe20433c4c71d39b0bd1e91477ba2df7806f (patch)
tree2232541ec02fa66c218250f4c43631eef5d9ce50
parentb8a02f4aa187204ebc6153caa5915ccb6d7a44ba (diff)
downloaddyndhcpd-255cfe20433c4c71d39b0bd1e91477ba2df7806f.tar.gz
dyndhcpd-255cfe20433c4c71d39b0bd1e91477ba2df7806f.tar.xz
restart on failure
-rw-r--r--systemd/dyndhcpd@.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/systemd/dyndhcpd@.service b/systemd/dyndhcpd@.service
index 591f8b7..76eafdb 100644
--- a/systemd/dyndhcpd@.service
+++ b/systemd/dyndhcpd@.service
@@ -14,6 +14,9 @@ ProtectSystem=full
ProtectHome=on
PrivateDevices=on
NoNewPrivileges=on
+RestartSec=2s
+Restart=on-failure
+StartLimitInterval=12s
[Install]
WantedBy=multi-user.target