short commands for caddy
This commit is contained in:
parent
233ed6e75c
commit
295d15e34f
1 changed files with 4 additions and 4 deletions
|
|
@ -126,10 +126,10 @@ function info_help {
|
|||
echo " Create a backup of the current helperbot into ${underline}/usr/local/bin/helperbot.bak${normal} and does an in-place upgrade of itself."
|
||||
echo
|
||||
echo "${cyan}${bold}${underline}Caddy:${normal}"
|
||||
echo "${bold}--caddy-reload${normal}"
|
||||
echo "${bold}-cr${normal}, ${bold}--caddy-reload${normal}"
|
||||
echo " (Live-)Reload the Caddy configurations."
|
||||
echo
|
||||
echo "${bold}--caddy-restart${normal}"
|
||||
echo "${bold}-cre${normal}, ${bold}--caddy-restart${normal}"
|
||||
echo " Restart the Caddy container."
|
||||
echo
|
||||
echo "${cyan}${bold}${underline}Fediverse:${normal}"
|
||||
|
|
@ -832,10 +832,10 @@ while [ -n "$1" ]; do
|
|||
--update-helperbot) # update helperbot
|
||||
root_check
|
||||
update_helperbot;;
|
||||
--caddy-reload) # reload caddy
|
||||
-cr | --caddy-reload) # reload caddy
|
||||
root_check
|
||||
caddy_reload;;
|
||||
--caddy-restart) # restart caddy
|
||||
-cre | --caddy-restart) # restart caddy
|
||||
root_check
|
||||
caddy_restart;;
|
||||
--sync-blocklists) # fediverse: sync sharkey -> iceshrimp blocklists
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue