Skip to content

Commit

Permalink
Update wordpress-jail.sh
Browse files Browse the repository at this point in the history
Process log now in /var/log/caddy
  • Loading branch information
basilhendroff committed May 31, 2021
1 parent 3d51ad5 commit f6ad15c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions wordpress-jail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,9 @@ print_msg "Configure and start Caddy..."

# Copy and edit pre-written config files
iocage exec "${JAIL_NAME}" cp -f /mnt/includes/Caddyfile /usr/local/www
# iocage exec "${JAIL_NAME}" sed -i '' "s|configtest|validate|" /usr/local/etc/rc.d/caddy

iocage exec "${JAIL_NAME}" sysrc caddy_enable="YES"
iocage exec "${JAIL_NAME}" sysrc caddy_config="/usr/local/www/Caddyfile"
iocage exec "${JAIL_NAME}" sysrc caddy_logdir="/var/log"

iocage exec "${JAIL_NAME}" service caddy start

Expand Down

0 comments on commit f6ad15c

Please sign in to comment.