CLIENTS = $(shell ls clientbin/*.py)
-BINS = ./config/sfa-config-tty ./config/gen-sfa-cm-config.py \
+BINS = ./config/sfa-config-tty ./systemd/sfa-setup.sh \
./sfa/server/sfa-start.py \
./clientbin/sfaadmin.py \
$(CLIENTS)
syncbin: synccheck
+$(RSYNC) $(BINS) $(SSHURL)/usr/bin/
syncservices: synccheck
- +$(RSYNC) ./systemd/*.service $(SSHURL)/usr/lib/systemd/system
- +$(RSYNC) ./systemd/sfa-db-init.sh $(SSHURL)/usr/bin
+ +$(RSYNC) ./systemd/*.service $(SSHURL)/lib/systemd/system
+ +$(RSYNC) ./systemd/sfa-setup.sh $(SSHURL)/usr/bin
syncconfig:
+$(RSYNC) ./config/default_config.xml $(SSHURL)/etc/sfa/
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/