CC-2726: create custom restart script for the Monit to use

- using Monit restart instead of start in full insatll script
- create new "monit-restart" function in pypo init.d
This commit is contained in:
James 2011-08-24 17:17:28 -04:00
parent 58837ff89b
commit 95cb1858c7
4 changed files with 30 additions and 5 deletions

View file

@ -139,6 +139,8 @@ try:
buffer += temp
buffer += "\n"
fh.write(buffer)
fh.write("output_icecast_vorbis_metadata = false\n");
fh.write("log_file = \"/var/log/airtime/pypo-liquidsoap/<script>.log\"\n");
fh.close()
print "Waiting for processes to start..."