LimitNOFILE configurable by es_max_open_files

This commit is contained in:
Emanuelis 2016-05-16 13:22:07 +03:00
parent e14ebe06ab
commit 19a794dafb
2 changed files with 5 additions and 3 deletions

View file

@ -31,7 +31,7 @@ StandardOutput=null
StandardError=journal
# Specifies the maximum file descriptor number that can be opened by this process
LimitNOFILE=65535
LimitNOFILE={{es_max_open_files}}
# Specifies the maximum number of bytes of memory that may be locked into RAM
# Set to "infinity" if you use the 'bootstrap.mlockall: true' option
@ -53,4 +53,4 @@ SendSIGKILL=no
SuccessExitStatus=143
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target