caddy-retired/scripts/own

5 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