Change Varlink systemd unit to use system service

We completely removed `podman varlink`, which broke the systemd
unit file used by the Varlink code. Change that to use the new
`podman system service --varlink` command which replaced it.

Also needs a slight reorder of args to make things work happily
on my system.

Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:
Matthew Heon
2020-06-15 09:22:45 -04:00
parent 5f3e64f643
commit 1bc992bfc3

View File

@ -6,7 +6,7 @@ Documentation=man:podman-varlink(1)
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/podman varlink unix:%t/podman/io.podman --timeout=60000 ExecStart=/usr/bin/podman system service --varlink --timeout=60000 unix:%t/podman/io.podman
TimeoutStopSec=30 TimeoutStopSec=30
KillMode=process KillMode=process