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.1.13/init |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/memcached/files/1.1.13/init?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/memcached/files/1.1.13/init?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/memcached/files/1.1.13/init?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: init |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.1.13/init,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- init 31 Mar 2007 19:03:18 -0000 1.1 |
23 |
+++ init 31 Dec 2011 20:36:21 -0000 1.2 |
24 |
@@ -1,5 +1,5 @@ |
25 |
#!/sbin/runscript |
26 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.1.13/init,v 1.1 2007/03/31 19:03:18 robbat2 Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.1.13/init,v 1.2 2011/12/31 20:36:21 idl0r Exp $ |
28 |
|
29 |
depend() { |
30 |
need net |
31 |
@@ -10,7 +10,6 @@ |
32 |
ewarn "You should edit /etc/conf.d/memcached and specify an address to listen on." |
33 |
ewarn "Listening on any address (I hope your firewall is set up properly)" |
34 |
fi |
35 |
- |
36 |
} |
37 |
|
38 |
start() { |
39 |
@@ -32,9 +31,9 @@ |
40 |
else |
41 |
c_LISTENON="-l ${LISTENON}" |
42 |
fi |
43 |
- |
44 |
+ |
45 |
/sbin/start-stop-daemon --start --pidfile ${PIDFILE} \ |
46 |
- --exec ${MEMCACHED_BINARY} --startas ${MEMCACHED_BINARY} -- \ |
47 |
+ --exec ${MEMCACHED_BINARY} -- \ |
48 |
-d -p ${PORT} ${c_LISTENON} -m ${MEMUSAGE} \ |
49 |
-c ${MAXCONN} -u ${MEMCACHED_RUNAS} -P ${PIDFILE} ${MISC_OPTS} |
50 |
eend $? |