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
|
fi
|
||||||
|
|
||||||
if [ -n "$MAX_MAP_COUNT" ]; then
|
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
|
fi
|
||||||
|
|
||||||
# Start Daemon
|
# Start Daemon
|
||||||
|
|
Loading…
Reference in New Issue