mirror of https://github.com/k3s-io/k3s
Raise the file ulimit for kube-proxy for init.d systems
parent
1cbde2c5c7
commit
60a07e972b
|
@ -40,6 +40,9 @@ DAEMON_USER=root
|
||||||
#
|
#
|
||||||
do_start()
|
do_start()
|
||||||
{
|
{
|
||||||
|
# Raise the file descriptor limit - we expect to open a lot of sockets!
|
||||||
|
ulimit -n 65536
|
||||||
|
|
||||||
# Return
|
# Return
|
||||||
# 0 if daemon has been started
|
# 0 if daemon has been started
|
||||||
# 1 if daemon was already running
|
# 1 if daemon was already running
|
||||||
|
|
Loading…
Reference in New Issue