From 3a1f3e7bf492a73df6cacdf9a291f4c22f03a6ba Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 10 Mar 2015 15:41:37 +0100 Subject: [PATCH] a convenience target to push systemd unit files on the sliver side --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) 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" -- 2.43.0