summaryrefslogtreecommitdiff
path: root/contrib/spec/podman.spec.in
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-08-13 15:57:27 +0200
committerGitHub <noreply@github.com>2019-08-13 15:57:27 +0200
commitb6c9b108670361a59435a3641d486e6086c9bab3 (patch)
tree6f21c1949f41327bfda080b71c19ddb1f3542deb /contrib/spec/podman.spec.in
parent4e21e56406cc26cdc36fb4b70d897b5ee12cf3f5 (diff)
parentdaf7044aa9c3e91e6b574e2de5fcddd4811fccdd (diff)
downloadpodman-b6c9b108670361a59435a3641d486e6086c9bab3.tar.gz
podman-b6c9b108670361a59435a3641d486e6086c9bab3.tar.bz2
podman-b6c9b108670361a59435a3641d486e6086c9bab3.zip
Merge pull request #3662 from marusak/user_socket_service
Add user systemd service and socket
Diffstat (limited to 'contrib/spec/podman.spec.in')
-rw-r--r--contrib/spec/podman.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/spec/podman.spec.in b/contrib/spec/podman.spec.in
index 0de797f2b..35f3b2014 100644
--- a/contrib/spec/podman.spec.in
+++ b/contrib/spec/podman.spec.in
@@ -389,6 +389,7 @@ popd
%install
install -dp %{buildroot}%{_unitdir}
+install -dp %{buildroot}%{_usr}/lib/systemd/user
PODMAN_VERSION=%{version} %{__make} PREFIX=%{buildroot}%{_prefix} ETCDIR=%{buildroot}%{_sysconfdir} \
install.bin \
install.remote \
@@ -487,6 +488,8 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%{_datadir}/containers/%{repo}.conf
%{_unitdir}/io.podman.service
%{_unitdir}/io.podman.socket
+%{_usr}/lib/systemd/user/io.podman.service
+%{_usr}/lib/systemd/user/io.podman.socket
%{_usr}/lib/tmpfiles.d/%{name}.conf
%if 0%{?with_devel}