summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Linz2016-09-30 12:50:51 +0200
committerAndreas Linz2016-10-06 12:12:50 +0200
commit8ba84c849f9a4dcdef790aa7c10fe535bf381ed8 (patch)
tree95f4e6acdd16feacfc383adfb5b03d90137de5fb
parent581b5d1b111efc70058be429c24ec7be6fcb1ecf (diff)
downloadaur-8ba84c849f9a4dcdef790aa7c10fe535bf381ed8.tar.gz
Do not reload the systemd-daemon or stop caddy
-rw-r--r--caddy-full-bin.install17
1 files changed, 3 insertions, 14 deletions
diff --git a/caddy-full-bin.install b/caddy-full-bin.install
index b4f19a27f3e..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
@@ -18,14 +14,7 @@ $ userdel -f www-data
$ groupdel www-data
EOF
- echo "Changing ownership of /etc/ssl/caddy to http:http"
- chown -R http:http /etc/ssl/caddy
-}
-
-pre_remove() {
- systemctl stop caddy
-}
-
-post_remove() {
- systemctl daemon-reload
+ echo "Changing ownership of /etc/ssl/caddy to http:http"
+ chown -R http:http /etc/ssl/caddy
+fi
}