diff options
| author | Joe Carstairs <s1806931@ed.ac.uk> | 2026-07-01 15:24:01 +0100 |
|---|---|---|
| committer | Joe Carstairs <s1806931@ed.ac.uk> | 2026-07-01 15:24:01 +0100 |
| commit | 04e1dad95248a45aa864e084ffcbeda24fdf0ef3 (patch) | |
| tree | 2e85fae738610feaaaac13f9c29384e0022faf73 /Makefile | |
| parent | e170bafffc7bc8c5bc82d75abe05d57fcc5ab07b (diff) | |
pulls out crontab.mk
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -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 |
