35 lines
881 B
SYSTEMD
35 lines
881 B
SYSTEMD
# container-authentik-redis.service
|
|
# autogenerated by Podman 4.1.1
|
|
# Wed Aug 17 07:18:00 UTC 2022
|
|
|
|
[Unit]
|
|
Description=Podman container-authentik-redis.service
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
RequiresMountsFor=%t/containers
|
|
BindsTo=pod-authentik.service
|
|
After=pod-authentik.service
|
|
|
|
[Service]
|
|
Environment=PODMAN_SYSTEMD_UNIT=%n
|
|
Restart=on-failure
|
|
TimeoutStopSec=70
|
|
ExecStartPre=/bin/rm -f %t/%n.ctr-id
|
|
ExecStart=/usr/bin/podman run \
|
|
--cidfile=%t/%n.ctr-id \
|
|
--cgroups=no-conmon \
|
|
--rm \
|
|
--pod-id-file %t/pod-authentik.pod-id \
|
|
--sdnotify=conmon \
|
|
-d \
|
|
--replace \
|
|
--label io.containers.autoupdate=registry \
|
|
--name authentik-redis docker.io/redis:alpine
|
|
ExecStop=/usr/bin/podman stop --ignore --cidfile=%t/%n.ctr-id
|
|
ExecStopPost=/usr/bin/podman rm -f --ignore --cidfile=%t/%n.ctr-id
|
|
Type=notify
|
|
NotifyAccess=all
|
|
|
|
[Install]
|
|
WantedBy=default.target
|