container-mariadb.service

This unit is provided by:

Options

  • [Install]
  • [Service]
    • Environment=PODMAN_SYSTEMD_UNIT=%n
    • EnvironmentFile=/usr/etc/default/container-mariadb -/etc/default/container-mariadb
    • 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 ${DATA_DIR}:/var/lib/mysql:Z -v ${SECRETS_DIR}:/etc/mariadb-secrets:z -p 3306:3306 --env MYSQL_ROOT_PASSWORD_FILE=/etc/mariadb-secrets/MYSQL_ROOT_PASSWORD --env MYSQL_ROOT_HOST_FILE=/etc/mariadb-secrets/MYSQL_ROOT_HOST --env MYSQL_DATABASE_FILE=/etc/mariadb-secrets/MYSQL_DATABASE --env MYSQL_USER_FILE=/etc/mariadb-secrets/MYSQL_USER --env MYSQL_PASSWORD_FILE=/etc/mariadb-secrets/MYSQL_PASSWORD --name mariadb ${MARIADB_IMAGE_PATH}
    • ExecStartPre=-/usr/bin/mkdir -p ${DATA_DIR} /bin/rm -f %t/%n.pid %t/%n.ctr-id -/usr/bin/podman pull ${MARIADB_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]

Additionnal notes

Nothing here.