5a2de66059
add MAX_OPEN_FILES variable with default set to value recommended by upstream (65535).
7 lines
235 B
Bash
Executable file
7 lines
235 B
Bash
Executable file
#!/bin/sh
|
|
[ -r ./conf ] && . ./conf
|
|
ulimit -n ${MAX_OPEN_FILES:-65535}
|
|
cd /var/lib/dendrite || exit 1
|
|
exec 2>&1
|
|
exec chpst -u _dendrite:_dendrite dendrite-monolith-server \
|
|
--config ${CONFIG_FILE:-/etc/dendrite/dendrite.yaml} ${OPTS}
|