mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
units: increase LimitNOFILE a bit
since we need one fd per session (for logind) and one fd per service (for stdout-syslog-bridge) increase the default rlimit a bit.
This commit is contained in:
parent
688c56ff7d
commit
f84aea434f
2
TODO
2
TODO
@ -26,8 +26,6 @@ Features:
|
|||||||
|
|
||||||
* default to actual 32bit PIDs, via /proc/sys/kernel/pid_max
|
* default to actual 32bit PIDs, via /proc/sys/kernel/pid_max
|
||||||
|
|
||||||
* increase RLIMIT_NOFILE for logind, logger by default
|
|
||||||
|
|
||||||
* add an option to make mounts private/shareable and so on, enable this for root by default
|
* add an option to make mounts private/shareable and so on, enable this for root by default
|
||||||
|
|
||||||
* internal restart counter for units (focus on auto-respawn)
|
* internal restart counter for units (focus on auto-respawn)
|
||||||
|
@ -16,3 +16,7 @@ Type=dbus
|
|||||||
BusName=org.freedesktop.login1
|
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
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
|
|
||||||
|
# Increase the default a bit in order to allow many simultaneous
|
||||||
|
# logins since we keep one fd open per session.
|
||||||
|
LimitNOFILE=16384
|
||||||
|
@ -18,3 +18,7 @@ ExecStart=@rootlibexecdir@/systemd-stdout-syslog-bridge
|
|||||||
NotifyAccess=all
|
NotifyAccess=all
|
||||||
StandardOutput=null
|
StandardOutput=null
|
||||||
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SETUID CAP_SETGID
|
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SETUID CAP_SETGID
|
||||||
|
|
||||||
|
# Increase the default a bit in order to allow many simultaneous
|
||||||
|
# services being run since we keep one fd open per service.
|
||||||
|
LimitNOFILE=16384
|
||||||
|
Loading…
Reference in New Issue
Block a user