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
Punt more tabs
[invirt/packages/invirt-console.git]
/
files
/
usr
/
sbin
/
invirt-console-update
diff --git
a/files/usr/sbin/invirt-console-update
b/files/usr/sbin/invirt-console-update
index
d5035e6
..
e24a3ce
100755
(executable)
--- a/
files/usr/sbin/invirt-console-update
+++ b/
files/usr/sbin/invirt-console-update
@@
-9,7
+9,7
@@
def main(args):
f = file('/etc/conserver/conf.d/'+hostname, 'w')
f.write(contents)
f.close()
f = file('/etc/conserver/conf.d/'+hostname, 'w')
f.write(contents)
f.close()
- p = subprocess.Popen(['/etc/init.d/conserver-server', 'reload'],
+ p = subprocess.Popen(['/usr/sbin/invoke-rc.d', 'conserver-server', 'reload'],
stdout=subprocess.PIPE)
p.wait()
return 0
stdout=subprocess.PIPE)
p.wait()
return 0