From: Michael Tremer Date: Thu, 15 Aug 2019 14:37:01 +0000 (+0100) Subject: Add update command to restart webapp gradually X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4ceb215fec0bd1d67c97b8a38c23bffeb7f5327;p=ipfire.org.git Add update command to restart webapp gradually Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index 6518dd83..b69162ce 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1014,6 +1014,10 @@ src/static/img/apple-touch-icon-%-precomposed.png: src/static/img/ipfire-tux.png -extent $(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@)x$(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@) \ $< $@ +.PHONY: update +update: + for i in src/systemd/ipfire.org-webapp-*.service; do systemctl restart $$(basename $${i}) && sleep 5; done + # Docker .PHONY: docker docker: Dockerfile