summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-11-22 14:39:26 +0000
committerEray Aslan <eras@gentoo.org>2011-11-22 14:39:26 +0000
commit329da667558f4474772e9b2c520147d3facafc41 (patch)
treef8872234a7d6ff2c1f9d3f06a1d3d682569971a9 /net-mail/pop-before-smtp/files
parentrespect CC variable (diff)
downloadgentoo-2-329da667558f4474772e9b2c520147d3facafc41.tar.gz
gentoo-2-329da667558f4474772e9b2c520147d3facafc41.tar.bz2
gentoo-2-329da667558f4474772e9b2c520147d3facafc41.zip
Use non-deprecated variables in init script
(Portage version: 2.1.10.37/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/pop-before-smtp/files')
-rw-r--r--net-mail/pop-before-smtp/files/pop-before-smtp.init8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-mail/pop-before-smtp/files/pop-before-smtp.init b/net-mail/pop-before-smtp/files/pop-before-smtp.init
index 0fb85e8ece09..b128d4f5510e 100644
--- a/net-mail/pop-before-smtp/files/pop-before-smtp.init
+++ b/net-mail/pop-before-smtp/files/pop-before-smtp.init
@@ -1,9 +1,9 @@
#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/pop-before-smtp/files/pop-before-smtp.init,v 1.4 2004/11/05 13:54:00 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/pop-before-smtp/files/pop-before-smtp.init,v 1.5 2011/11/22 14:39:26 eras Exp $
-opts="reload"
+extra_commands="reload"
depend() {
need net
@@ -12,7 +12,7 @@ depend() {
start() {
ebegin "Starting pop-before-smtp"
- start-stop-daemon --start --pidfile /var/run/pop-before-smtp.pid --startas /usr/sbin/pop-before-smtp -- --daemon=/var/run/pop-before-smtp.pid
+ start-stop-daemon --start --pidfile /var/run/pop-before-smtp.pid --exec /usr/sbin/pop-before-smtp -- --daemon=/var/run/pop-before-smtp.pid
eend $?
}