Add missing ExecReload in container service unit file
It may happen that we want to just reload the container. Before this patch, it was a "stop and start", while podman has the "podman kill" available, accepting the HUP signal. Doing so allows other automated tools to actually just "reload" the container as we would do for a standard service. Change-Id: I5946a36e56dd1f3b49104deaef4ab69bada8e264
This commit is contained in:
parent
2193db20c6
commit
de7e74acd0
@ -99,6 +99,7 @@ Wants=%(wants)s
|
||||
[Service]
|
||||
Restart=%(restart)s
|
||||
ExecStart=%(start_cmd)s
|
||||
ExecReload=/usr/bin/podman kill --signal HUP %(name)s
|
||||
ExecStop=/usr/bin/podman stop -t %(stop_grace_period)s %(name)s
|
||||
KillMode=none
|
||||
Type=forking
|
||||
|
Loading…
Reference in New Issue
Block a user