Template
1
0

Controlling service with podman and systemd

This commit is contained in:
Azer Abdullaev
2021-02-03 18:27:45 +01:00
parent 0237f4bec4
commit 8f0ec476d2
2 changed files with 18 additions and 5 deletions

View File

@ -0,0 +1,10 @@
[Unit]
Description=A dummy service
[Service]
Restart=always
ExecStart=/usr/bin/podman start -a dummy
ExecStop=/usr/bin/podman stop -t 2 dummy
[Install]
WantedBy=default.target