caddy-retired/scripts/own

5 lines
141 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+rw -R /opt/caddy