certbot-cron-docker/root/check-one-shot.sh
MrMeeb b962b65145
All checks were successful
continuous-integration/drone/push Build is passing
add ONE_SHOT so container exits after run
2023-07-17 17:49:02 +00:00

9 lines
176 B
Bash

#!/command/with-contenv bash
# shellcheck shell=bash
if [ $ONE_SHOT == "true" ]; then
# Cleanly kill container by sending kill signal to supervisor process
kill 1
fi