From 04e1dad95248a45aa864e084ffcbeda24fdf0ef3 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Wed, 1 Jul 2026 15:24:01 +0100 Subject: pulls out crontab.mk --- Makefile | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b0f17fb..63d6382 100644 --- a/Makefile +++ b/Makefile @@ -211,20 +211,7 @@ $(foreach module,$(MODULES),$(eval $(openrc_restart_rule))) /etc/nginx/http.d: sudo mkdir -p /etc/nginx/http.d -.PHONY: install_crontab -install_crontab: /etc/periodic/daily/joeac.net - -.PHONY: uninstall_crontab -uninstall_crontab: - sudo rm -f /etc/periodic/daily/joeac.net - -/etc/periodic/daily/joeac.net: - echo "#!/bin/sh" > crontab.tmp - echo "git -C /usr/local/lib/joeac.net pull && $(MAKE) --directory /usr/local/lib/joeac.net && rc-service joeac.net restart" \ - >> crontab.tmp - sudo mv crontab.tmp /etc/periodic/daily/joeac.net - sudo chmod +x /etc/periodic/daily/joeac.net - +include crontab.mk include dyndns.mk .PHONY: clean -- cgit v1.2.3