summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/rclocal_script.sh
diff options
context:
space:
mode:
authorChristian Rößler2015-06-24 11:47:54 +0200
committerChristian Rößler2015-06-24 11:47:54 +0200
commit1983d7d98daf8c9efc785f19e2fac8d452a2733b (patch)
tree4182221623d86cd06ece2fcbdbd819c1daa19a75 /satellit_installer/static_files/rclocal_script.sh
parent[SSPS] WARNING: syncdaemon removed! (diff)
downloadsetup-scripts-1983d7d98daf8c9efc785f19e2fac8d452a2733b.tar.gz
setup-scripts-1983d7d98daf8c9efc785f19e2fac8d452a2733b.tar.xz
setup-scripts-1983d7d98daf8c9efc785f19e2fac8d452a2733b.zip
[SSPS] Some wait time given when respawning daemons (taskman, dmsd) 5sec
Diffstat (limited to 'satellit_installer/static_files/rclocal_script.sh')
-rw-r--r--satellit_installer/static_files/rclocal_script.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/satellit_installer/static_files/rclocal_script.sh b/satellit_installer/static_files/rclocal_script.sh
index 46ae9aa..a294b33 100644
--- a/satellit_installer/static_files/rclocal_script.sh
+++ b/satellit_installer/static_files/rclocal_script.sh
@@ -96,7 +96,8 @@ if [ $(ps -p 1 -o comm=) = systemd ]; then
WorkingDirectory=$DMSDDIR
ExecStart=$(which java) -Xmx96M -jar bwLehrpoolSuite_Server.jar
Restart=always
-
+ RestartSec=5
+
[Install]
WantedBy=multi-user.target
HEREDOC
@@ -113,6 +114,7 @@ if [ $(ps -p 1 -o comm=) = systemd ]; then
WorkingDirectory=$TASKMANDIR
ExecStart=$(which java) -Xmx80M -jar taskmanager.jar
Restart=always
+ RestartSec=5
[Install]
WantedBy=multi-user.target