Fix bug where pypo fails to restart liquidsoap; uncomment adding pypo template files
This commit is contained in:
parent
133f1b72ca
commit
dd2ffd148d
2 changed files with 3 additions and 3 deletions
|
@ -185,7 +185,7 @@ class PypoFetch(Thread):
|
|||
|
||||
|
||||
self.logger.info("Restarting Liquidsoap")
|
||||
subprocess.call('/etc/init.d/airtime-liquidsoap restart', shell=True, close_fds=True)
|
||||
subprocess.call('kill -9 `pidof airtime-liquidsoap`', shell=True, close_fds=True)
|
||||
|
||||
#Wait here and poll Liquidsoap until it has started up
|
||||
self.logger.info("Waiting for Liquidsoap to start")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue