summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-06-29 11:59:47 +0100
committerJoe Carstairs <me@joeac.net>2026-06-29 11:59:47 +0100
commit3e3c866ec0cd0958754a0212f5252d77faa9e0d1 (patch)
tree10f91cca4f6f56fbcfbf178f62352b782e87272d /Makefile
parent2b0c63a783e036d62b88d8acbfc7688780635eb9 (diff)
uninstalls nginx module confs in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3fb8f81..86996e7 100644
--- a/Makefile
+++ b/Makefile
@@ -61,6 +61,8 @@ uninstall_$(module):
rc-update -U del joeac.net.$(module) default
rm ~/.config/rc/init.d/joeac.net.$(module)
$(if $(SUBDOMAIN_$(module)),\
+ sudo rm -f /etc/nginx/http.d/$(SUBDOMAIN_$(module)).joeac.net.conf; \
+ sudo rc-service nginx restart; \
sudo rm -f /etc/periodic/daily/dyndns-$(SUBDOMAIN_$(module)).joeac.net; \
)
endef