Skip to content

Commit

Permalink
Merge pull request #3998 from cevich/idiot_proof_systemd_unit
Browse files Browse the repository at this point in the history
Prevent podman varlink socket fight
  • Loading branch information
openshift-merge-robot committed Sep 12, 2019
2 parents 3acfc3b + 9be2a6f commit 6ad1762
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contrib/varlink/io.podman.service
Expand Up @@ -6,8 +6,9 @@ Documentation=man:podman-varlink(1)

[Service]
Type=simple
ExecStart=/usr/bin/podman varlink unix:%t/podman/io.podman
KillMode=none
ExecStart=/usr/bin/podman varlink unix:%t/podman/io.podman --timeout=60000
TimeoutStopSec=30
KillMode=process

[Install]
WantedBy=multi-user.target
Expand Down
1 change: 1 addition & 0 deletions contrib/varlink/io.podman.socket
Expand Up @@ -8,3 +8,4 @@ SocketMode=0600

[Install]
WantedBy=sockets.target
Also=multi-user.target

0 comments on commit 6ad1762

Please sign in to comment.