feature DEPLOY_START_DELAY, adds a delay when (re)starting targets after deployment

This commit is contained in:
Andreas Neue 2023-05-08 11:47:06 +02:00
parent 6ab5e15f8a
commit 0c93338e86
6 changed files with 8 additions and 3 deletions

1
apt.mk
View file

@ -8,4 +8,5 @@ start-apt:
@- $(foreach host,$(DEPLOY_HOSTS), \
echo "$(host)"; \
ssh $(SSH_USER)@$(host) "apt install -y $APT_PACKAGES; sh start.sh"; \
sleep $(DEPLOY_START_DELAY); \
)