[FIX] 2.2.1 version of caddy does not start with systemd on Ubuntu. Updated to 2.4.3

Signed-off-by: Mark Sharpley <msh@Marks-MacBook-Pro.local>
This commit is contained in:
Mark Sharpley 2021-07-12 23:01:04 +01:00 committed by Alex Ellis
parent efcae9888c
commit 9f1b5e2f7b

View File

@ -150,7 +150,7 @@ install_caddy() {
;;
esac
curl -sSL "https://github.com/caddyserver/caddy/releases/download/v2.2.1/caddy_2.2.1_linux_${suffix}.tar.gz" | $SUDO tar -xvz -C /usr/bin/ caddy
curl -sSL "https://github.com/caddyserver/caddy/releases/download/v2.4.3/caddy_2.4.3_linux_${suffix}.tar.gz" | $SUDO tar -xvz -C /usr/bin/ caddy
$SUDO curl -fSLs https://raw.githubusercontent.com/caddyserver/dist/master/init/caddy.service --output /etc/systemd/system/caddy.service
$SUDO mkdir -p /etc/caddy