2024-06-23 06:49:44 +00:00
|
|
|
# container-futtern-caddy.service
|
|
|
|
# autogenerated by Podman 4.3.1
|
|
|
|
# Sun Jun 23 05:33:51 UTC 2024
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Podman container-futtern-caddy.service
|
|
|
|
Documentation=man:podman-generate-systemd(1)
|
|
|
|
Wants=network-online.target
|
|
|
|
After=network-online.target
|
|
|
|
RequiresMountsFor=%t/containers
|
|
|
|
BindsTo=pod-futtern.service
|
|
|
|
After=pod-futtern.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-futtern.pod-id \
|
|
|
|
--sdnotify=conmon \
|
|
|
|
--replace \
|
|
|
|
-d \
|
|
|
|
--name futtern-caddy \
|
2024-06-23 07:21:20 +00:00
|
|
|
--volume %h/futtern/etc/caddy/Caddyfile:/etc/caddy/Caddyfile \
|
|
|
|
--volume %h/futtern/app:/var/www/html \
|
2024-06-23 06:49:44 +00:00
|
|
|
--volume caddy_data:/data docker.io/caddy/caddy:alpine
|
|
|
|
ExecStop=/usr/bin/podman stop \
|
|
|
|
--ignore -t 10 \
|
|
|
|
--cidfile=%t/%n.ctr-id
|
|
|
|
ExecStopPost=/usr/bin/podman rm \
|
|
|
|
-f \
|
|
|
|
--ignore -t 10 \
|
|
|
|
--cidfile=%t/%n.ctr-id
|
|
|
|
Type=notify
|
|
|
|
NotifyAccess=all
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|