File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ TIMEOUT=3600 # a lot of time for a graceful container stop
88
99# --------------------------------------------------------------------
1010
11- VER=0.13 .0
11+ VER=0.14 .0
1212
1313set -ueo pipefail
1414
@@ -177,6 +177,11 @@ case "${1:-}" in
177177 docker exec -it " $CONTAINER " bash
178178 ;;
179179
180+ super* ) # Interact with supervisorctl
181+ shift
182+ docker exec -it " $CONTAINER " supervisorctl " $@ "
183+ ;;
184+
180185 update-c* ) # Check for container package updates
181186 docker exec -it " $CONTAINER " bash -c ' apt update && echo && apt list --upgradable'
182187 ;;
@@ -215,6 +220,7 @@ case "${1:-}" in
215220 $APP postconf Show postfix configuration
216221 $APP logs [-f] Show logs. Use -f to 'follow' the logs
217222 $APP login Run container shell
223+ $APP supervisor Interact with supervisorctl
218224 $APP update-check Check for container package updates
219225 $APP update-packages Update container packages
220226 $APP versions Show package versions
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ _mailctl() {
22 local cur prev options
33 cur=${COMP_WORDS[COMP_CWORD]}
44 prev=${COMP_WORDS[COMP_CWORD-1]}
5- options=" status start stop restart setup queue flush view delete fail2ban ports postconf logs login update-check update-packages versions"
5+ options=" status start stop restart setup queue flush view delete fail2ban ports postconf logs login supervisor update-check update-packages versions"
66 if [ $COMP_CWORD -eq 1 ]; then
77 COMPREPLY=( $( compgen -W " ${options[@]} " -- $cur ) )
88 elif [ $COMP_CWORD -eq 2 ]; then
You can’t perform that action at this time.
0 commit comments