mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-21 20:05:48 +02:00
Fix Caddy configuration message placement
This commit is contained in:
committed by
GitHub
parent
69641d322d
commit
151cd6581f
@@ -41,12 +41,12 @@ cat <<EOF >/etc/caddy/Caddyfile
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
usermod -aG www-data caddy
|
usermod -aG www-data caddy
|
||||||
msg_ok "Configured Caddy"
|
|
||||||
|
|
||||||
systemctl enable -q --now php${PHP_VER}-fpm
|
systemctl enable -q --now php${PHP_VER}-fpm
|
||||||
systemctl restart caddy
|
systemctl restart caddy
|
||||||
|
msg_ok "Configured Caddy"
|
||||||
|
|
||||||
msg_info "Automating Webtrees Setup"
|
msg_info "Automating Webtrees Setup"
|
||||||
|
cd /opt/webtrees
|
||||||
WT_ADMIN_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c15)
|
WT_ADMIN_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c15)
|
||||||
$STD sudo -u www-data php /opt/webtrees/index.php config-ini \
|
$STD sudo -u www-data php /opt/webtrees/index.php config-ini \
|
||||||
--dbhost=127.0.0.1 \
|
--dbhost=127.0.0.1 \
|
||||||
|
|||||||
Reference in New Issue
Block a user