Skip to content

Commit

Permalink
podman.service should be an exec service not a notify service
Browse files Browse the repository at this point in the history
Podman never notifies sytemd that it is ready to recieve connections
so systemd kills it after waiting 1.5 minutes.  Changing to exec
should leave it running until podman exits or the service is stopped.

containers#8751

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
  • Loading branch information
rhatdan committed Dec 16, 2020
1 parent bacb2fc commit afb7afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/systemd/system/podman.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Documentation=man:podman-system-service(1)
StartLimitIntervalSec=0

[Service]
Type=notify
Type=exec
KillMode=process
Environment=LOGGING="--log-level=info"
ExecStart=/usr/bin/podman $LOGGING system service

0 comments on commit afb7afe

Please sign in to comment.