From: Thierry Parmentelat Date: Fri, 18 Mar 2011 09:19:27 +0000 (+0100) Subject: restart nm upon make sync X-Git-Tag: nodemanager-2.0-30~3 X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=commitdiff_plain;h=08d71ce9b241ecd0ca67f0fb634fc9cfb26405dc restart nm upon make sync --- diff --git a/Makefile b/Makefile index 09fb9e2..08c3acf 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,7 @@ ifeq (,$(NODEURL)) else +$(RSYNC) ./ $(NODEURL)/usr/share/NodeManager/ +$(RSYNC) ./initscripts/nm $(NODEURL)/etc/init.d/nm + ssh -i $(NODE).key.rsa root@$(NODE) service nm restart endif ### fetching the key