projects
/
invirt/packages/invirt-console.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use invoke-rc.d instead of calling init scripts directly in
[invirt/packages/invirt-console.git]
/
files
/
usr
/
sbin
/
invirt-update-conserver
diff --git
a/files/usr/sbin/invirt-update-conserver
b/files/usr/sbin/invirt-update-conserver
index
f87ae6c
..
b9aba8c
100755
(executable)
--- a/
files/usr/sbin/invirt-update-conserver
+++ b/
files/usr/sbin/invirt-update-conserver
@@
-13,7
+13,7
@@
def live_vms():
return vms
def reload_conserver():
return vms
def reload_conserver():
- p = subprocess.Popen(['/etc/init.d/conserver-server', 'reload'], stdout=subprocess.PIPE)
+ p = subprocess.Popen(['invoke-rc.d', 'conserver-server', 'reload'], stdout=subprocess.PIPE)
p.wait()
if __name__ == '__main__':
p.wait()
if __name__ == '__main__':