summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2011-08-07 13:22:39 +0000
committerRaúl Porcel <armin76@gentoo.org>2011-08-07 13:22:39 +0000
commitd86c7a493b80dcf43a38f080a134c109d0669ab1 (patch)
treef0d2635b3e6fe03cbdb7d7c3e39ee0b4539165b0 /app-misc/uptimed/files
parentVersion bump. (diff)
downloadgentoo-2-d86c7a493b80dcf43a38f080a134c109d0669ab1.tar.gz
gentoo-2-d86c7a493b80dcf43a38f080a134c109d0669ab1.tar.bz2
gentoo-2-d86c7a493b80dcf43a38f080a134c109d0669ab1.zip
Fix init script, bug #377783
(Portage version: 2.1.10.7/cvs/Linux ia64)
Diffstat (limited to 'app-misc/uptimed/files')
-rw-r--r--app-misc/uptimed/files/uptimed.init8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-misc/uptimed/files/uptimed.init b/app-misc/uptimed/files/uptimed.init
index fe0a6e90971b..cfd2998c1672 100644
--- a/app-misc/uptimed/files/uptimed.init
+++ b/app-misc/uptimed/files/uptimed.init
@@ -1,17 +1,17 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/files/uptimed.init,v 1.3 2009/04/14 17:13:13 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/files/uptimed.init,v 1.4 2011/08/07 13:22:39 armin76 Exp $
-# Copyright 2002 Sean Russell
+# Copyright 2002-2011 Sean Russell
PIDFILE="/var/run/uptimed/uptimed.pid"
start() {
ebegin "Starting uptimed"
- start-stop-daemon --quiet --start --chuid uptimed \
+ start-stop-daemon --quiet --start --user uptimed \
--exec /usr/sbin/uptimed --pidfile "${PIDFILE}" -- -b
- start-stop-daemon --quiet --start --chuid uptimed \
+ start-stop-daemon --quiet --start --user uptimed \
--exec /usr/sbin/uptimed --pidfile "${PIDFILE}" \
-- -p ${PIDFILE}
eend $?