1 |
idl0r 11/12/31 20:36:21 |
2 |
|
3 |
Modified: init |
4 |
Log: |
5 |
Revbump. Don't use deprecated start-stop-daemon options, bug 377311. |
6 |
|
7 |
(Portage version: 2.1.10.41/cvs/Linux i686, RepoMan options: --force) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 net-misc/memcached/files/1.2.5/init |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/memcached/files/1.2.5/init?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/memcached/files/1.2.5/init?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/memcached/files/1.2.5/init?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: init |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.2.5/init,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- init 31 Mar 2008 12:17:07 -0000 1.1 |
23 |
+++ init 31 Dec 2011 20:36:20 -0000 1.2 |
24 |
@@ -1,5 +1,5 @@ |
25 |
#!/sbin/runscript |
26 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.2.5/init,v 1.1 2008/03/31 12:17:07 caleb Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.2.5/init,v 1.2 2011/12/31 20:36:20 idl0r Exp $ |
28 |
|
29 |
CONF="${SVCNAME#*.}" |
30 |
CONFBASE="/etc/conf.d/memcached" |
31 |
@@ -29,7 +29,6 @@ |
32 |
ewarn "You should edit $CONFSRC and specify an address to listen on." |
33 |
ewarn "Listening on any address (check your firewall!)" |
34 |
fi |
35 |
- |
36 |
} |
37 |
|
38 |
start() { |
39 |
@@ -57,8 +56,7 @@ |
40 |
fi |
41 |
|
42 |
/sbin/start-stop-daemon --start --pidfile "${PIDFILE}" \ |
43 |
- --exec "${MEMCACHED_BINARY}" \ |
44 |
- --startas "${MEMCACHED_BINARY}" -- \ |
45 |
+ --exec "${MEMCACHED_BINARY}" -- \ |
46 |
-d -p ${PORT} ${c_LISTENON} -m ${MEMUSAGE} \ |
47 |
-c ${MAXCONN} -u ${MEMCACHED_RUNAS} -P "${PIDFILE}" \ |
48 |
${MISC_OPTS} |