chiark / gitweb /
enable proper access timestamps on all tmpfs mounts
[elogind.git] / units / systemd-logind.service.in
index d4734c3da4920880861de57fbc898bd5b7913562..48c1f2c3f021be9f79445ef163156fb0cbd99f2b 100644 (file)
@@ -9,10 +9,14 @@
 
 [Unit]
 Description=Login Service
+After=nss-user-lookup.target
 
 [Service]
 ExecStart=@rootlibexecdir@/systemd-logind
 Type=dbus
 BusName=org.freedesktop.login1
-CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL
-StandardOutput=syslog
+CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG
+
+# Increase the default a bit in order to allow many simultaneous
+# logins since we keep one fd open per session.
+LimitNOFILE=16384