27 lines
1.1 KiB
SYSTEMD
27 lines
1.1 KiB
SYSTEMD
# pod-authentik.service
|
|
# autogenerated by Podman 4.1.1
|
|
# Wed Aug 17 07:18:00 UTC 2022
|
|
|
|
[Unit]
|
|
Description=Podman pod-authentik.service
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
RequiresMountsFor=
|
|
Requires=container-authentik-postgres.service container-authentik-redis.service container-authentik-server.service container-authentik-worker.service
|
|
Before=container-authentik-postgres.service container-authentik-redis.service container-authentik-server.service container-authentik-worker.service
|
|
|
|
[Service]
|
|
Environment=PODMAN_SYSTEMD_UNIT=%n
|
|
Restart=on-failure
|
|
TimeoutStopSec=70
|
|
ExecStartPre=/bin/rm -f %t/pod-authentik.pid %t/pod-authentik.pod-id
|
|
ExecStartPre=/usr/bin/podman pod create --infra-conmon-pidfile %t/pod-authentik.pid --pod-id-file %t/pod-authentik.pod-id --name authentik -p 9000:9000 -p 9443:9443 --replace
|
|
ExecStart=/usr/bin/podman pod start --pod-id-file %t/pod-authentik.pod-id
|
|
ExecStop=/usr/bin/podman pod stop --ignore --pod-id-file %t/pod-authentik.pod-id -t 10
|
|
ExecStopPost=/usr/bin/podman pod rm --ignore -f --pod-id-file %t/pod-authentik.pod-id
|
|
PIDFile=%t/pod-authentik.pid
|
|
Type=forking
|
|
|
|
[Install]
|
|
WantedBy=default.target
|