From: Thierry Parmentelat Date: Tue, 10 Mar 2015 14:41:37 +0000 (+0100) Subject: a convenience target to push systemd unit files on the sliver side X-Git-Tag: nodemanager-5.2-16~22 X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=commitdiff_plain;h=3a1f3e7bf492a73df6cacdf9a291f4c22f03a6ba a convenience target to push systemd unit files on the sliver side --- diff --git a/Makefile b/Makefile index 5221fa8..3838ef2 100644 --- a/Makefile +++ b/Makefile @@ -198,3 +198,11 @@ else @echo "FETCHING key" +scp $(KEYURL) $@ endif + +########## exp. too +SLICE=inri_sl1 + +syncvinit: + $(RSYNC) sliver-systemd/vinit.st* $(NODEURL)/vservers/$(SLICE)/usr/bin/ + $(RSYNC) sliver-systemd/vinit.service $(NODEURL)/vservers/$(SLICE)/usr/lib/systemd/system/ + echo "remember to run 'systemctl daemon-reload' within this slice"