summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Linz2016-09-30 12:50:51 +0200
committerAndreas Linz2016-09-30 12:54:16 +0200
commita59ac9a3fc2ca0954b6a0c2c6759fa387fdace9f (patch)
treee99a4b7378a5783c05f057f82233169a0cd034df
parent6b7e5fd10e0e0c478cee2b40c18a087227d61f35 (diff)
downloadaur-a59ac9a3fc2ca0954b6a0c2c6759fa387fdace9f.tar.gz
Do not reload the systemd-daemon or stop caddy
-rw-r--r--caddy-full-bin.install11
1 files changed, 0 insertions, 11 deletions
diff --git a/caddy-full-bin.install b/caddy-full-bin.install
index c931506c2e4..b9468b2bcce 100644
--- a/caddy-full-bin.install
+++ b/caddy-full-bin.install
@@ -2,10 +2,6 @@ post_install() {
mkdir -p /etc/ssl/caddy && chown -R http:http /etc/ssl/caddy
}
-pre_upgrade() {
- systemctl stop caddy
-}
-
post_upgrade() {
systemctl daemon-reload
if [ $(vercmp $2 0.9.3-5) -lt 0 ]; then
@@ -21,11 +17,4 @@ EOF
echo "Changing ownership of /etc/ssl/caddy to http:http"
chown -R http:http /etc/ssl/caddy
fi
-
-pre_remove() {
- systemctl stop caddy
-}
-
-post_remove() {
- systemctl daemon-reload
}