summaryrefslogtreecommitdiff
path: root/contrib/varlink/io.projectatomic.podman.service
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-05-18 16:28:51 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-19 07:47:03 +0000
commit9d7c50aa030ee70d507c414bb02f0add8ffa2835 (patch)
treeb4151e582e3e123be0dd55505ef3984073b579bf /contrib/varlink/io.projectatomic.podman.service
parent4b804e85165a29f9d712f1ec4f289040f942f459 (diff)
downloadpodman-9d7c50aa030ee70d507c414bb02f0add8ffa2835.tar.gz
podman-9d7c50aa030ee70d507c414bb02f0add8ffa2835.tar.bz2
podman-9d7c50aa030ee70d507c414bb02f0add8ffa2835.zip
Tighten the security on the podman varlink socket
We only want root to be allowed to access this socket. Also move socket to /run/podman directory. This requires us to drop a podman.conf tmpfiles.d file. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #806 Approved by: mheon
Diffstat (limited to 'contrib/varlink/io.projectatomic.podman.service')
-rw-r--r--contrib/varlink/io.projectatomic.podman.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/varlink/io.projectatomic.podman.service b/contrib/varlink/io.projectatomic.podman.service
index fe3a236ad..1c4c1435f 100644
--- a/contrib/varlink/io.projectatomic.podman.service
+++ b/contrib/varlink/io.projectatomic.podman.service
@@ -1,11 +1,12 @@
[Unit]
-Description=Pod Manager
+Description=Podman Remote API Service
Requires=io.projectatomic.podman.socket
After=io.projectatomic.podman.socket
+Documentation=man:podman-varlink(1)
[Service]
Type=simple
-ExecStart=/usr/bin/podman varlink unix:/run/io.projectatomic.podman
+ExecStart=/usr/bin/podman varlink unix:/run/podman/io.projectatomic.podman
[Install]
WantedBy=multi-user.target