Description
clojure.lang.ExceptionInfo: Command exited with non-zero status 1 on node 172.23.106.61:
|
sudo -S -u root bash -c "cd /; if [[ -f \"/var/run/daemonlogger.pid\" ]]; then kill -s TERM \$(cat /var/run/daemonlogger.pid); fi"
|
|
STDIN:
|
null
|
|
STDOUT:
|
|
|
STDERR:
|
bash: line 0: kill: (49879) - No such process
|
What's the fix?
Do not error if the contents of '/var/run/daemonlogger.pid' points to a process that is currently not running.