summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2023-05-22 01:23:42 -0400
committerAndrew Cady <d@jerkface.net>2023-05-22 01:23:42 -0400
commit684c592ac659de0d934f5c9a47d28348d12e723e (patch)
tree5e04bf3435c3cdb7a5b43f3c6882a3d979b5e064 /Makefile
parent5dcbbaeb2c942356f3b9b7dba5e04ec373adfced (diff)
systemd units
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 327ab68..ac0ab02 100644
--- a/Makefile
+++ b/Makefile
@@ -5,5 +5,8 @@ ifeq ($(remotes),)
5$(error You must put at least one *.json configuration file into <file:///$(config_dir)>). 5$(error You must put at least one *.json configuration file into <file:///$(config_dir)>).
6endif 6endif
7 7
8install:
9 for remote in $(remotes); do systemctl enable push-btrfs@$$remote.service; systemctl enable --now push-btrfs@$$remote.timer; done
10
8go: 11go:
9 for remote in $(remotes); do bash$(if $(verbose), -x) push-btrfs $$remote$(if $(verbose),;, &) done; wait 12 for remote in $(remotes); do bash$(if $(verbose), -x) push-btrfs $$remote$(if $(verbose),;, &) done; wait