Skip to content

Commit 151cd65

Browse files
authored
Fix Caddy configuration message placement
1 parent 69641d3 commit 151cd65

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

install/webtrees-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ cat <<EOF >/etc/caddy/Caddyfile
4141
}
4242
EOF
4343
usermod -aG www-data caddy
44-
msg_ok "Configured Caddy"
45-
4644
systemctl enable -q --now php${PHP_VER}-fpm
4745
systemctl restart caddy
46+
msg_ok "Configured Caddy"
4847

4948
msg_info "Automating Webtrees Setup"
49+
cd /opt/webtrees
5050
WT_ADMIN_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c15)
5151
$STD sudo -u www-data php /opt/webtrees/index.php config-ini \
5252
--dbhost=127.0.0.1 \

0 commit comments

Comments
 (0)