summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2021-02-11 14:42:10 +0100
committerSimon Rettberg2021-02-11 14:42:10 +0100
commit501b030fdb84370147e094a00952358a7d3ab97c (patch)
tree798423ef224920a4d2d3e934000e338f7d33aaed
parent[SSPS] Improve network wait online stuff (diff)
downloadsetup-scripts-501b030fdb84370147e094a00952358a7d3ab97c.tar.gz
setup-scripts-501b030fdb84370147e094a00952358a7d3ab97c.tar.xz
setup-scripts-501b030fdb84370147e094a00952358a7d3ab97c.zip
[SSPS] ldadp: Restart interval 100ms -> 10s
This prevents the restart burst limit from triggering if the server is down for extended periods of time.
-rw-r--r--satellit_installer/static_files/ldadp/etc/systemd/system/ldadp@.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/satellit_installer/static_files/ldadp/etc/systemd/system/ldadp@.service b/satellit_installer/static_files/ldadp/etc/systemd/system/ldadp@.service
index b04118f..884e948 100644
--- a/satellit_installer/static_files/ldadp/etc/systemd/system/ldadp@.service
+++ b/satellit_installer/static_files/ldadp/etc/systemd/system/ldadp@.service
@@ -5,6 +5,7 @@ ConditionFileNotEmpty=/opt/ldadp/configs/%i.cfg
[Service]
ExecStart=/opt/ldadp/ldadp -n /opt/ldadp/configs/%i.cfg
Restart=always
+RestartSec=10
[Install]
WantedBy=multi-user.target