update systemd service files and add script to copy these files

This commit is contained in:
2026-04-12 17:51:19 +02:00
parent 74d29ae8ef
commit e82f2825ae
12 changed files with 64 additions and 12 deletions
+40
View File
@@ -0,0 +1,40 @@
# container-kontor-vue.service
# autogenerated by Podman 4.9.3
# Sun Apr 12 17:24:24 CEST 2026
[Unit]
Description=Podman container-kontor-vue.service
Documentation=man:podman-generate-systemd(1)
Wants=network-online.target
After=network-online.target
RequiresMountsFor=%t/containers
BindsTo=pod-kontor.service
After=pod-kontor.service
[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=on-failure
TimeoutStopSec=70
ExecStart=/usr/bin/podman run \
--cidfile=%t/%n.ctr-id \
--cgroups=no-conmon \
--rm \
--pod-id-file %t/pod-kontor.pod-id \
--sdnotify=conmon \
-d \
--replace \
--name kontor-vue \
--label io.containers.autoupdate=local \
--label PODMAN_SYSTEMD_UNIT=container-kontor-vue.service localhost/kontor-vue:0.3.0
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