Update util.lua
processes are really restarted now. new (old) problem: nodes will not forget their former ipv6-addresses. watchdog could here with that.
This commit is contained in:
parent
6f90fd7f3d
commit
faf0dd6aa3
@ -140,7 +140,7 @@ function M.restart_services()
|
||||
"gluon-respondd",
|
||||
}
|
||||
|
||||
for proc in ipairs(proc_tbl) do
|
||||
for i, proc in ipairs(proc_tbl) do
|
||||
if unistd.access("/etc/init.d/"..proc, "x") == 0 then
|
||||
print(proc.." restarting ...")
|
||||
os.execute("/etc/init.d/"..proc.." restart")
|
||||
|
Loading…
Reference in New Issue
Block a user