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
|
@ -126,13 +126,13 @@ fi
|
|||
#We don't want any of our python services running if we are doing an upgrade/reinstall.
|
||||
#They will be automatically restarted later on.
|
||||
if [ -e /etc/init.d/airtime-media-monitor ]; then
|
||||
/etc/init.d/airtime-media-monitor stop > /dev/null 2>&1
|
||||
invoke-rc.d airtime-media-monitor stop > /dev/null 2>&1
|
||||
fi
|
||||
if [ -e /etc/init.d/airtime-playout ]; then
|
||||
/etc/init.d/airtime-playout stop > /dev/null 2>&1
|
||||
invoke-rc.d airtime-playout stop > /dev/null 2>&1
|
||||
fi
|
||||
if [ -e /etc/init.d/airtime-show-recorder ]; then
|
||||
/etc/init.d/airtime-show-recorder stop > /dev/null 2>&1
|
||||
invoke-rc.d airtime-show-recorder stop > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue