Skip to content
Snippets Groups Projects
Commit 23294fb0 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix devel/upload restart of daemons


While running with a wrong --prefix/--sysconfdir, I saw that
devel/upload actually uses a hardcoded path for the init script, even
though it installs it in the correct place.

Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent d55b80b0
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@ wait
if test -z "${NO_RESTART}"; then
for host; do
echo Restarting ganeti-noded on ${host}...
ssh -oBatchMode=yes root@${host} /etc/init.d/ganeti restart &
ssh -oBatchMode=yes root@${host} $SYSCONFDIR/init.d/ganeti restart &
done
wait
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment