#!/bin/bash # reset ownership if need be. Assumes user is in caddy group sudo chown -R caddy:caddy /opt/caddy sudo chmod g+rwx -R /opt/caddy