diff options
author | Christian Rößler | 2015-06-25 17:59:48 +0200 |
---|---|---|
committer | Christian Rößler | 2015-06-25 17:59:48 +0200 |
commit | a54283e2b8b7fb346e1f1701c3dcba446862a3da (patch) | |
tree | 29ca49cc5d9110fc619bcee2a84a88342a3e55fa /satellit_installer/static_files | |
parent | [SSPS] Some wait time given when respawning daemons (taskman, dmsd) 5sec (diff) | |
download | setup-scripts-a54283e2b8b7fb346e1f1701c3dcba446862a3da.tar.gz setup-scripts-a54283e2b8b7fb346e1f1701c3dcba446862a3da.tar.xz setup-scripts-a54283e2b8b7fb346e1f1701c3dcba446862a3da.zip |
[SSPS] systemd: dmsd, taskmanager logging via service file
Diffstat (limited to 'satellit_installer/static_files')
-rw-r--r-- | satellit_installer/static_files/rclocal_script.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/satellit_installer/static_files/rclocal_script.sh b/satellit_installer/static_files/rclocal_script.sh index a294b33..6782fdb 100644 --- a/satellit_installer/static_files/rclocal_script.sh +++ b/satellit_installer/static_files/rclocal_script.sh @@ -97,6 +97,9 @@ if [ $(ps -p 1 -o comm=) = systemd ]; then ExecStart=$(which java) -Xmx96M -jar bwLehrpoolSuite_Server.jar Restart=always RestartSec=5 + SyslogIdentifier=dmsd + StandardOutput=syslog + StandardError=syslog [Install] WantedBy=multi-user.target @@ -115,7 +118,10 @@ if [ $(ps -p 1 -o comm=) = systemd ]; then ExecStart=$(which java) -Xmx80M -jar taskmanager.jar Restart=always RestartSec=5 - + SyslogIdentifier=taskmanager + StandardOutput=syslog + StandardError=syslog + [Install] WantedBy=multi-user.target SOMEWHEREDOC |