summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-24 02:23:18 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-24 02:23:18 +0000
commitb48940d2b2ed543f4af41ec9081d965fe79a672c (patch)
tree1f735a0df2eb3212774dd40646f76dd72efeb33a /net-misc/htpdate/files
parentinitial ebuild bug #144634 (diff)
downloadgentoo-2-b48940d2b2ed543f4af41ec9081d965fe79a672c.tar.gz
gentoo-2-b48940d2b2ed543f4af41ec9081d965fe79a672c.tar.bz2
gentoo-2-b48940d2b2ed543f4af41ec9081d965fe79a672c.zip
simpler init script and allow people to pick whether they want -D
(Portage version: 2.1.1_pre5-r3)
Diffstat (limited to 'net-misc/htpdate/files')
-rw-r--r--net-misc/htpdate/files/htpdate.conf2
-rw-r--r--net-misc/htpdate/files/htpdate.init7
2 files changed, 3 insertions, 6 deletions
diff --git a/net-misc/htpdate/files/htpdate.conf b/net-misc/htpdate/files/htpdate.conf
index 719c3f2f1a7c..1c7e02decf27 100644
--- a/net-misc/htpdate/files/htpdate.conf
+++ b/net-misc/htpdate/files/htpdate.conf
@@ -9,4 +9,4 @@
#PROXY="-P <proxy>:<port>"
# Set additional options, see 'man htpdate' for refernce
-HTPDATE_OPTS="-s"
+HTPDATE_OPTS="-D -s"
diff --git a/net-misc/htpdate/files/htpdate.init b/net-misc/htpdate/files/htpdate.init
index c4b0418fe6c6..8d40d93ed38f 100644
--- a/net-misc/htpdate/files/htpdate.init
+++ b/net-misc/htpdate/files/htpdate.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/files/htpdate.init,v 1.2 2006/05/26 14:57:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/files/htpdate.init,v 1.3 2006/08/24 02:23:18 vapier Exp $
depend() {
need net
@@ -18,10 +18,7 @@ checkconfig() {
start() {
checkconfig || return 1
ebegin "Starting htpdate"
- start-stop-daemon \
- --quiet --start --pidfile /var/run/htpdate.pid \
- --exec /usr/sbin/htpdate \
- -- -D ${HTPDATE_OPTS} ${PROXY} ${SERVERS}
+ htpdate ${HTPDATE_OPTS} ${PROXY} ${SERVERS}
eend $?
}