From 23294fb0bd3921dbdb7846628428724a1e1d1e68 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Wed, 24 Oct 2012 12:23:25 +0200 Subject: [PATCH] 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: Iustin Pop <iustin@google.com> Reviewed-by: Helga Velroyen <helgav@google.com> --- devel/upload.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/upload.in b/devel/upload.in index c58313400..219362ee8 100644 --- a/devel/upload.in +++ b/devel/upload.in @@ -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 -- GitLab