CC-3575: Use invoke-rc.d to start and stop services, rather than calling init scripts directly

-fixed
This commit is contained in:
Martin Konecny 2012-04-05 15:09:20 -04:00
parent b00e74e831
commit 3611f1071d
6 changed files with 11 additions and 11 deletions

View file

@ -30,7 +30,7 @@ try:
print 'Error loading config file: ', e
sys.exit(1)
os.system("/etc/init.d/airtime-playout stop")
os.system("invoke-rc.d airtime-playout stop")
os.system("rm -f /etc/init.d/airtime-playout")
os.system("update-rc.d -f airtime-playout remove >/dev/null 2>&1")