summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/system-plugin.spec6
-rw-r--r--units/session-bind@.service16
2 files changed, 0 insertions, 22 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec
index 96cae2c..b076f2d 100644
--- a/packaging/system-plugin.spec
+++ b/packaging/system-plugin.spec
@@ -231,10 +231,6 @@ mkdir -p %{buildroot}%{_userunitdir}/basic.target.wants
install -m 644 units/session-bind.service %{buildroot}%{_userunitdir}
ln -s ../session-bind.service %{buildroot}%{_userunitdir}/basic.target.wants/session-bind.service
-mkdir -p %{buildroot}%{_unitdir}/user-basic@.target.wants
-install -m 644 units/session-bind@.service %{buildroot}%{_unitdir}
-ln -s ../session-bind@.service %{buildroot}%{_unitdir}/user-basic@.target.wants/session-bind@.service
-
%clean
rm -rf %{buildroot}
@@ -336,8 +332,6 @@ rm -f %{_sbindir}/e4crypt
%{_bindir}/session-bind
%{_userunitdir}/session-bind.service
%{_userunitdir}/basic.target.wants/session-bind.service
-%{_unitdir}/session-bind@.service
-%{_unitdir}/user-basic@.target.wants/session-bind@.service
%post feature-session-bind
echo ""
diff --git a/units/session-bind@.service b/units/session-bind@.service
deleted file mode 100644
index bb3e805..0000000
--- a/units/session-bind@.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-PartOf=userlogin@%i.target
-Description=User session bind mount for %i
-Wants=wait-mount@opt-usr.service
-After=wait-mount@opt-usr.service
-ConditionPathIsMountPoint=!/opt/usr/apps
-ConditionPathIsMountPoint=!/opt/usr/media
-
-[Service]
-User=%i
-SmackProcessLabel=User
-Capabilities=cap_sys_admin=i
-SecureBits=keep-caps
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/usr/bin/session-bind