Controlling service with podman and systemd
This commit is contained in:
10
config/systemd/dummy.service
Normal file
10
config/systemd/dummy.service
Normal 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
|
Reference in New Issue
Block a user