From f931ac7f2c8a7cea149f231c46e85085b915e340 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 2 Oct 2018 21:32:40 +0200 Subject: [PATCH] tweak make sync target, overdue after some cleanup (sfa-cm) and move to systemctl --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 59a2d220..485f10a3 100644 --- a/Makefile +++ b/Makefile @@ -187,7 +187,7 @@ RSYNC := rsync -a -v $(RSYNC_COND_DRY_RUN) --no-owner $(RSYNC_EXCLUDES) CLIENTS = $(shell ls clientbin/*.py) -BINS = ./config/sfa-config-tty ./config/gen-sfa-cm-config.py ./systemd/sfa-setup.sh \ +BINS = ./config/sfa-config-tty ./systemd/sfa-setup.sh \ ./sfa/server/sfa-start.py \ ./clientbin/sfaadmin.py \ $(CLIENTS) @@ -211,7 +211,8 @@ synctest: synccheck +$(RSYNC) ./tests/ $(SSHURL)/root/tests-sfa syncrestart: synccheck -$(SSHCOMMAND) systemctl --system daemon-reload - $(SSHCOMMAND) service sfa restart + $(SSHCOMMAND) systemctl restart sfa-db + $(SSHCOMMAND) systemctl restart sfa-aggregate syncmig: +$(RSYNC) ./sfa/storage/migrations $(SSHURL)/usr/share/sfa/ -- 2.43.0