rebased-podman/rebased-pod.service

15 lines
307 B
SYSTEMD
Raw Permalink Normal View History

2022-11-11 19:52:07 +01:00
[Unit]
Description=Rebased Podman container
Wants=syslog.service
[Service]
ExecStartPre=/bin/sleep 10
Restart=always
ExecStartPre=/usr/bin/podman pod start rebased-pod
ExecStart=/usr/bin/podman attach rebased-web
ExecStop=/usr/bin/podman pod stop rebased-pod
User=psw
[Install]
WantedBy=multi-user.target