certbot-cron-docker/root/check-one-shot.sh

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