-
-
Save Justman100/8e3fcd03ea9435d4d9b9c46a6d8f3736 to your computer and use it in GitHub Desktop.
Script to control Caddy (ManageCaddy)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
cd /home | |
caddy fmt --overwrite | |
[[ -z $(lsof -ti:80) ]] && caddy reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment