more informative message to user about new init.d script behaviour
This commit is contained in:
parent
ca6442f7f0
commit
d2f29b1f88
|
@ -62,11 +62,16 @@ stop_with_monit() {
|
||||||
|
|
||||||
case "${1:-''}" in
|
case "${1:-''}" in
|
||||||
'stop')
|
'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: "
|
echo -n "Stopping $NAME: "
|
||||||
stop
|
stop
|
||||||
echo "Done."
|
echo "Done."
|
||||||
;;
|
;;
|
||||||
'start')
|
'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: "
|
echo -n "Starting $NAME: "
|
||||||
start
|
start
|
||||||
echo "Done."
|
echo "Done."
|
||||||
|
|
Loading…
Reference in New Issue