aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--tests/apache2-proxy1
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0fdd9df..3a8e461 100644
--- a/Makefile
+++ b/Makefile
@@ -87,11 +87,14 @@ install: all
install -m0644 -vDt $(man8dir) -- $(BUILDDIR)/lacme.8
install -m0755 -vDt $(sbindir) -- $(BUILDDIR)/lacme
install -m0755 -vDt $(bindir) -- $(BUILDDIR)/lacme-accountd
+ install -m0755 -vdD -- $(sysconfdir)/apache2/conf-available
+ ln -sv -- ../../lacme/apache2.conf $(sysconfdir)/apache2/conf-available/lacme.conf
uninstall:
rm -vf -- $(bindir)/lacme-accountd $(sbindir)/lacme
rm -vf -- $(man1dir)/lacme-accountd.1 $(man8dir)/lacme.8
rm -rvf -- $(sysconfdir)/lacme $(datadir)/lacme $(libexecdir)/lacme
+ rm -vf -- $(sysconfdir)/apache2/conf-available/lacme.conf
clean:
rm -rvf -- $(BUILDDIR)
diff --git a/tests/apache2-proxy b/tests/apache2-proxy
index 5ae17ee..016b426 100644
--- a/tests/apache2-proxy
+++ b/tests/apache2-proxy
@@ -6,7 +6,6 @@ sed -i 's|^listen\s*=|#&|' /etc/lacme/lacme.conf
DEBIAN_FRONTEND="noninteractive" apt install -y --no-install-recommends apache2 curl
-ln -fs /etc/lacme/apache2.conf /etc/apache2/conf-available/lacme.conf
a2enmod proxy_http
a2enconf lacme