summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/varlink/io.projectatomic.podman.service12
-rw-r--r--contrib/varlink/io.projectatomic.podman.socket8
2 files changed, 20 insertions, 0 deletions
diff --git a/contrib/varlink/io.projectatomic.podman.service b/contrib/varlink/io.projectatomic.podman.service
new file mode 100644
index 000000000..5b5c43134
--- /dev/null
+++ b/contrib/varlink/io.projectatomic.podman.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Pod Manager
+Requires=io.projectatomic.podman.socket
+After=io.projectatomic.podman.socket
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/podman --varlink=unix:/run/io.projectatomic.podman
+
+[Install]
+WantedBy=multi-user.target
+Also=io.projectatomic.podman.socket
diff --git a/contrib/varlink/io.projectatomic.podman.socket b/contrib/varlink/io.projectatomic.podman.socket
new file mode 100644
index 000000000..d49b458a0
--- /dev/null
+++ b/contrib/varlink/io.projectatomic.podman.socket
@@ -0,0 +1,8 @@
+[Unit]
+Description=Pod Manager Socket
+
+[Socket]
+ListenStream=/run/io.projectatomic.podman
+
+[Install]
+WantedBy=sockets.target