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:
parent
58837ff89b
commit
95cb1858c7
4 changed files with 30 additions and 5 deletions
|
@ -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..."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue