restart nm upon make sync
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 18 Mar 2011 09:19:27 +0000 (10:19 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 18 Mar 2011 09:19:27 +0000 (10:19 +0100)
Makefile

index 09fb9e2..08c3acf 100644 (file)
--- 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