mirror of
https://github.com/containers/podman.git
synced 2025-06-27 21:50:18 +08:00
Add user systemd service and socket
This enables user to interact with varlink and create/manage rootless containers through it. Using as: `varlink call unix:/run/user/1000/podman/io.podman/io.podman.ListContainers` Signed-off-by: Matej Marusak <mmarusak@redhat.com>
This commit is contained 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}
|
||||
|
Reference in New Issue
Block a user