X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-logind.service.in;h=c332039e8775e70d094fddf6edd19916b9a28339;hp=d4734c3da4920880861de57fbc898bd5b7913562;hb=9f84624270432cdff35c4f499fbdb9e0f94fe705;hpb=094062918c50cd5a34f7b6510fe206bf78d7cc58 diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index d4734c3da..c332039e8 100644 --- a/units/systemd-logind.service.in +++ b/units/systemd-logind.service.in @@ -14,5 +14,8 @@ Description=Login 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 + +# Increase the default a bit in order to allow many simultaneous +# logins since we keep one fd open per session. +LimitNOFILE=16384