diff options
| author | Joe Carstairs <me@joeac.net> | 2026-07-01 18:31:34 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-07-01 18:31:34 +0100 |
| commit | c7c8a96a572dd04c3aff44284c4c46da04deaa37 (patch) | |
| tree | 9318ff98f197a1a948e651d12116983019dedcb6 /crontab.mk | |
| parent | f73512107c7cf8d95fb1f97fa69706a1519e5ca3 (diff) | |
moves helper makefiles into make/ dir
Diffstat (limited to 'crontab.mk')
| -rw-r--r-- | crontab.mk | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/crontab.mk b/crontab.mk deleted file mode 100644 index aab3285..0000000 --- a/crontab.mk +++ /dev/null @@ -1,17 +0,0 @@ -.PHONY: install_crontab -install_crontab: /etc/periodic/daily/joeac.net - -.PHONY: reinstall_crontab -reinstall_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 - |
