This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target
-
-
[Service]
-
Environment=PODMAN_SYSTEMD_UNIT=%n
-
EnvironmentFile=-/usr/etc/default/container-roundcube -/etc/default/container-roundcube
-
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 ${ROUNDCUBE_DB_DIR}:/var/roundcube/db:z -v ${ROUNDCUBE_CONFIG_DIR}/config.inc.php:/var/www/html/config/config.inc.php:z $ROUNDCUBE_PORTS -e ROUNDCUBEMAIL_DEFAULT_HOST=${ROUNDCUBEMAIL_DEFAULT_HOST} -e ROUNDCUBEMAIL_SMTP_SERVER=${ROUNDCUBEMAIL_SMTP_SERVER} -e ROUNDCUBEMAIL_PLUGINS=${ROUNDCUBEMAIL_PLUGINS} $ROUNDCUBE_EXTRA_ENV $ROUNDCUBE_PORTS --name roundcube ${ROUNDCUBE_IMAGE_PATH}
-
ExecStartPre=-/usr/bin/mkdir -p ${ROUNDCUBE_DB_DIR} ${ROUNDCUBE_CONFIG_DIR} /bin/rm -f %t/%n.pid %t/%n.ctr-id -/usr/bin/podman pull ${ROUNDCUBE_IMAGE_PATH}
-
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=roundcube container
-
Documentation=https://github.com/roundcube/roundcubemail-docker/blob/master/README.md
-
StartLimitBurst=5
-
StartLimitIntervalSec=40
-
Wants=network-online.target
-
Additionnal notes
Nothing here.