diff options
author | Christian Hesse <mail@eworm.de> | 2018-08-14 10:06:09 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-08-14 10:06:09 +0200 |
commit | 255cfe20433c4c71d39b0bd1e91477ba2df7806f (patch) | |
tree | 2232541ec02fa66c218250f4c43631eef5d9ce50 /systemd | |
parent | b8a02f4aa187204ebc6153caa5915ccb6d7a44ba (diff) | |
download | dyndhcpd-255cfe20433c4c71d39b0bd1e91477ba2df7806f.tar.gz dyndhcpd-255cfe20433c4c71d39b0bd1e91477ba2df7806f.tar.zst |
restart on failure
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/dyndhcpd@.service | 3 |
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 |