Otherwise this actually remains in the generated unit in /usr/lib.

If you want to keep it commented out, a m4-compatible way would be:

    m4_ifdef(`HAVE_SMACK',
    dnl Capabilities=cap_mac_admin=i
    dnl SecureBits=keep-caps
    )
---
 units/u...@.service.m4.in | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/units/u...@.service.m4.in b/units/u...@.service.m4.in
index 0daa43a..1e21d51 100644
--- a/units/u...@.service.m4.in
+++ b/units/u...@.service.m4.in
@@ -17,7 +17,3 @@ ExecStart=-@rootlibexecdir@/systemd --user
 Slice=user-%i.slice
 KillMode=mixed
 Delegate=yes
-#m4_ifdef(`HAVE_SMACK',
-#Capabilities=cap_mac_admin=i
-#SecureBits=keep-caps
-#)
-- 
2.2.0

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to