Skip to content

Commit ee83569

Browse files
authored
Merge pull request #1734 from sbouchex/startup_script
Added error message if "reload" could not HUP process
2 parents 744c642 + c83dfac commit ee83569

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

domoticz.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ case "$1" in
115115
PID=$(pidof_domoticz) || true
116116
if [ "${PID}" ]; then
117117
kill -HUP $PID
118+
log_end_msg 0
119+
else
120+
log_end_msg 1
118121
fi
119122
;;
120123
restart)

0 commit comments

Comments
 (0)