X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=485f10a30f88a04c01a30e9ee95569e2b9e6a0ec;hb=0e37e8101b03f6c9fde4bfcb4287d6f5c6aedb50;hp=bcf1edca12c7af94ecaa9b7ec253c2aa2c3e8bb7;hpb=7ebd40bbcacbb55e3e56d868b4f31b73c119a1a2;p=sfa.git diff --git a/Makefile b/Makefile index bcf1edca..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) @@ -203,7 +203,7 @@ syncmigrations: syncbin: synccheck +$(RSYNC) $(BINS) $(SSHURL)/usr/bin/ syncservices: synccheck - +$(RSYNC) ./systemd/*.service $(SSHURL)/usr/lib/systemd/system + +$(RSYNC) ./systemd/*.service $(SSHURL)/lib/systemd/system +$(RSYNC) ./systemd/sfa-setup.sh $(SSHURL)/usr/bin syncconfig: +$(RSYNC) ./config/default_config.xml $(SSHURL)/etc/sfa/ @@ -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/