diff options
-rw-r--r-- | caddy-full-bin.install | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/caddy-full-bin.install b/caddy-full-bin.install index c931506c2e48..b9468b2bcce8 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 } |