CC-3575: Use invoke-rc.d to start and stop services, rather than calling init scripts directly
-done
This commit is contained in:
parent
d9d8211a3b
commit
60d521a88a
8 changed files with 12 additions and 24 deletions
|
@ -46,7 +46,7 @@ fi
|
|||
# so we can ensure they can register with monit to monitor them when they start.
|
||||
# If monit is already running, this step is still useful as we need monit to
|
||||
# reload its config files.
|
||||
/etc/init.d/monit restart
|
||||
invoke-rc.d monit restart
|
||||
|
||||
#give monit some time to boot-up before issuing commands
|
||||
sleep 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue