-streamlined the install script. Any previous running processes are shutdown immediately.
This commit is contained in:
parent
6eb43e7478
commit
7a11f2aa41
3 changed files with 20 additions and 13 deletions
|
@ -10,13 +10,13 @@ if os.geteuid() != 0:
|
|||
|
||||
try:
|
||||
print "Starting daemontool script pypo-fetch"
|
||||
os.system("svc -t /etc/service/pypo-fetch")
|
||||
os.system("svc -u /etc/service/pypo-fetch")
|
||||
|
||||
print "Starting daemontool script pypo-push"
|
||||
os.system("svc -t /etc/service/pypo-push")
|
||||
os.system("svc -u /etc/service/pypo-push")
|
||||
|
||||
print "Starting daemontool script pypo-liquidsoap"
|
||||
os.system("svc -t /etc/service/pypo-liquidsoap")
|
||||
os.system("svc -u /etc/service/pypo-liquidsoap")
|
||||
|
||||
except Exception, e:
|
||||
print "exception:" + str(e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue