mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
Fixing debian init script to work on ubuntu LTS
sysctl parameters must be separated like `-q -w` instead of `-qw`
This commit is contained in:
parent
e2e19203d7
commit
348c3731c8
@ -157,7 +157,7 @@ case "$1" in
|
||||
fi
|
||||
|
||||
if [ -n "$MAX_MAP_COUNT" ]; then
|
||||
sysctl -qw vm.max_map_count=$MAX_MAP_COUNT
|
||||
sysctl -q -w vm.max_map_count=$MAX_MAP_COUNT
|
||||
fi
|
||||
|
||||
# Start Daemon
|
||||
|
Loading…
x
Reference in New Issue
Block a user