more informative message to user about new init.d script behaviour

This commit is contained in:
Martin Konecny 2013-05-16 12:08:32 -04:00
parent ca6442f7f0
commit d2f29b1f88
1 changed files with 5 additions and 0 deletions

View File

@ -62,11 +62,16 @@ stop_with_monit() {
case "${1:-''}" in
'stop')
echo "* Stopping Liquidsoap without notifying Monit process watchdog. If Monit is
* running it will automatically bring the Liquidsoap back up. You probably want
* 'stop-with-monit' instead of 'stop'."
echo -n "Stopping $NAME: "
stop
echo "Done."
;;
'start')
echo "* Starting $NAME without Monit process watchdog. To make sure Monit is watching
* Liquidsoap, use 'start-with-monit' instead of 'start'."
echo -n "Starting $NAME: "
start
echo "Done."