Revert "Change Varlink systemd unit to use `system service`"

This reverts commit 1bc992bfc3.

We originally thought `podman varlink` was entirely removed, but
that was not true. We originally thought that
`podman system service --varlink` worked the same as
`podman varlink` but that was also not true. `system service` is
broken when used under systemd units, and `podman varlink` still
exists and works. Revert the change to `podman system service` to
fix socket-activated Varlink under systemd.

Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:
Matthew Heon 2020-06-16 10:50:33 -04:00
parent 0968f25988
commit 20345b1ec0
1 changed files with 1 additions and 1 deletions

View File

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