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:
Alexander Reelsen 2013-12-12 17:57:34 +01:00
parent e2e19203d7
commit 348c3731c8
1 changed files with 1 additions and 1 deletions

View File

@ -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