git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
678a925
)
tweak make sync target, overdue after some cleanup (sfa-cm) and move to systemctl
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Tue, 2 Oct 2018 19:32:40 +0000
(21:32 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Tue, 2 Oct 2018 19:36:15 +0000
(21:36 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
59a2d22
..
485f10a
100644
(file)
--- 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)
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)
./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
+$(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/
syncmig:
+$(RSYNC) ./sfa/storage/migrations $(SSHURL)/usr/share/sfa/