[packages] memcached: remove submenu, fix copyright year, add memory option to default config

git-svn-id: svn://svn.openwrt.org/openwrt/packages@19913 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2010-02-28 17:19:34 +00:00
parent 56ca0b67a6
commit 4bb8abe103
4 changed files with 10 additions and 10 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2007 OpenWrt.org
# Copyright (C) 2010 OpenWrt.org
START=80
start_service () {
@ -10,7 +10,7 @@ start_service () {
config_get port "$section" port
config_get memory "$section" memory
memcached_args="-d -p ${port:-"11211"} -u ${user:-"nobody"} -c ${maxconn:-"1024"} -l ${listen:-"0.0.0.0"} -U ${port:-"11211"} -m${memory:-"64"}"
memcached_args="-d -u ${user:-nobody} -c ${maxconn:-1024} -l ${listen:-0.0.0.0} -p ${port:-11211} -U ${port:-11211} -m ${memory:-64}"
memcached $memcached_args >/dev/null 2>&1
}