mirror of
https://github.com/casjaysdevdocker/wttr
synced 2026-07-01 17:45:54 -04:00
🗃️ Update codebase 🗃️
rootfs/usr/local/bin/entrypoint.sh
This commit is contained in:
@@ -624,20 +624,6 @@ ssl)
|
|||||||
exit $?
|
exit $?
|
||||||
;;
|
;;
|
||||||
# manage ssl certificate
|
# manage ssl certificate
|
||||||
certbot)
|
|
||||||
shift 1
|
|
||||||
CERT_BOT_ENABLED="yes"
|
|
||||||
if [ "$1" = "create" ]; then
|
|
||||||
shift 1
|
|
||||||
__certbot "create"
|
|
||||||
elif [ "$1" = "renew" ]; then
|
|
||||||
shift 1
|
|
||||||
__certbot "renew certonly --force-renew"
|
|
||||||
else
|
|
||||||
__exec_command "certbot" "$@"
|
|
||||||
fi
|
|
||||||
exit $?
|
|
||||||
;;
|
|
||||||
# Launch shell
|
# Launch shell
|
||||||
*/bin/sh | */bin/bash | bash | sh | shell)
|
*/bin/sh | */bin/bash | bash | sh | shell)
|
||||||
shift 1
|
shift 1
|
||||||
|
|||||||
Reference in New Issue
Block a user