caddy-retired/scripts/own

4 lines
142 B
Bash
Executable file

#!/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