CC-2850: Liquidsoap doesn't rotate its log files in Airtime

-fixed
-also noticed files were being chmod'd to 755, which is unnecessary. Also fixed.
This commit is contained in:
martin 2011-09-23 12:23:33 -04:00
parent 693c72c396
commit ee1a173953
5 changed files with 22 additions and 4 deletions

View file

@ -29,6 +29,9 @@ try:
os.system("/etc/init.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")
#copy logrotate script
os.system("rm -f /etc/logrotate.d/airtime-liquidsoap")
print "Removing cache directories"
remove_path(config["cache_base_dir"])