This unit is provided by:
Options
-
[Service]
-
Environment=PODMAN_SYSTEMD_UNIT=%n
-
EnvironmentFile=-/usr/etc/default/container-certbot -/etc/default/container-certbot
-
ExecStart=/usr/bin/podman run --conmon-pidfile %t/%n.pid --cidfile %t/%n.ctr-id --cgroups=no-conmon --sdnotify=conmon --replace -d --rm $PODMAN_EXTRA_ARGS -v ${CONFIG_DIR}:/etc/letsencrypt:z -v ${VAR_DIR}:/var/lib/letsencrypt:z -v ${LOG_DIR}:/var/log/letsencrypt:z $CERTBOT_PORTS --name certbot ${CERTBOT_IMAGE_PATH} renew --standalone
-
ExecStartPre=/bin/rm -f %t/%n.pid %t/%n.ctr-id -/usr/bin/podman pull ${CERTBOT_IMAGE_PATH} -/usr/bin/mkdir -p $CONFIG_DIR $VAR_DIR $LOG_DIR
-
ExecStop=/usr/bin/podman stop --ignore --cidfile %t/%n.ctr-id -t 10
-
ExecStopPost=/usr/bin/podman rm --ignore -f --cidfile %t/%n.ctr-id
-
NotifyAccess=all
-
Restart=on-failure
-
RestartSec=1s
-
TimeoutStopSec
Introduced in systemd 188=70 -
Type=notify
-
-
[Unit]
-
After=network-online.target local-fs.target firewalld.service
-
Description=Renew certificates with certbot container
-
Documentation=https://eff-certbot.readthedocs.io/en/stable/install.html#running-with-docker
-
StartLimitBurst=5
-
StartLimitIntervalSec=40
-
Wants=network-online.target
-
Additionnal notes
Nothing here.