From: | "Christian Ruppert (idl0r)" <idl0r@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in mail-filter/amavisd-new/files: amavisd.initd |
Date: | Fri, 24 Aug 2012 18:25:44 |
Message-Id: | 20120824182520.97877205D9@flycatcher.gentoo.org |
1 | idl0r 12/08/24 18:25:20 |
2 | |
3 | Modified: amavisd.initd |
4 | Log: |
5 | Redirect stdout instead of stderr. Whitespace. |
6 | |
7 | (Portage version: 2.2.0_alpha121/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.5 mail-filter/amavisd-new/files/amavisd.initd |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/amavisd-new/files/amavisd.initd?rev=1.5&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/amavisd-new/files/amavisd.initd?rev=1.5&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/amavisd-new/files/amavisd.initd?r1=1.4&r2=1.5 |
15 | |
16 | Index: amavisd.initd |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/files/amavisd.initd,v |
19 | retrieving revision 1.4 |
20 | retrieving revision 1.5 |
21 | diff -u -r1.4 -r1.5 |
22 | --- amavisd.initd 10 Jan 2012 13:46:47 -0000 1.4 |
23 | +++ amavisd.initd 24 Aug 2012 18:25:20 -0000 1.5 |
24 | @@ -1,7 +1,7 @@ |
25 | #!/sbin/runscript |
26 | # Copyright 1999-2012 Gentoo Foundation |
27 | # Distributed under the terms of the GNU General Public License v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/files/amavisd.initd,v 1.4 2012/01/10 13:46:47 eras Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/files/amavisd.initd,v 1.5 2012/08/24 18:25:20 idl0r Exp $ |
30 | |
31 | extra_started_commands="reload" |
32 | extra_commands="debug debug_sa" |
33 | @@ -23,21 +23,13 @@ |
34 | |
35 | stop() { |
36 | ebegin "Stopping ${progname}" |
37 | - "${prog}" stop 2>/dev/null |
38 | + "${prog}" stop 1>/dev/null |
39 | eend $? |
40 | } |
41 | |
42 | reload() { |
43 | ebegin "Reloading ${progname}" |
44 | - "${prog}" reload 2>/dev/null |
45 | - eend $? |
46 | -} |
47 | - |
48 | -restart() { |
49 | - ebegin "Restarting ${progname}" |
50 | - svc_stop |
51 | - sleep 3 |
52 | - svc_start |
53 | + "${prog}" reload 1>/dev/null |
54 | eend $? |
55 | } |