chiark / gitweb /
enable proper access timestamps on all tmpfs mounts
[elogind.git] / units / systemd-logind.service.in
index c332039e8775e70d094fddf6edd19916b9a28339..48c1f2c3f021be9f79445ef163156fb0cbd99f2b 100644 (file)
@@ -9,12 +9,13 @@
 
 [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 CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER
+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.