summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/memcached/files/1.1.12/init')
-rw-r--r--net-misc/memcached/files/1.1.12/init7
1 files changed, 3 insertions, 4 deletions
diff --git a/net-misc/memcached/files/1.1.12/init b/net-misc/memcached/files/1.1.12/init
index 28f339521c46..f3409c0c76f8 100644
--- a/net-misc/memcached/files/1.1.12/init
+++ b/net-misc/memcached/files/1.1.12/init
@@ -1,5 +1,5 @@
#!/sbin/runscript
-# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.1.12/init,v 1.3 2005/12/29 11:55:01 lisa Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.1.12/init,v 1.4 2011/12/31 20:36:20 idl0r Exp $
depend() {
need net
@@ -10,7 +10,6 @@ checkconfig() {
ewarn "You should edit /etc/conf.d/memcached and specify an address to listen on."
ewarn "Listening on any address (I hope your firewall is set up properly)"
fi
-
}
start() {
@@ -32,9 +31,9 @@ start() {
else
c_LISTENON="-l ${LISTENON}"
fi
-
+
/sbin/start-stop-daemon --start \
- --exec ${MEMCACHED_BINARY} --startas ${MEMCACHED_BINARY} -- \
+ --exec ${MEMCACHED_BINARY} -- \
-d -p ${PORT} ${c_LISTENON} -m ${MEMUSAGE} \
-c ${MAXCONN} -u ${MEMCACHED_RUNAS} -P ${PIDFILE} ${MISC_OPTS}
eend $?