summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-07-15 21:28:31 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-07-15 21:28:31 +0000
commitf56c2918da8c2a1883fc7b91dc690698812d0c3b (patch)
treee5dc9e8e4e86085547a6b8e196c4c5d91d5f122e /sci-misc
parentFix building with some locales (bug #328047). (diff)
downloadgentoo-2-f56c2918da8c2a1883fc7b91dc690698812d0c3b.tar.gz
gentoo-2-f56c2918da8c2a1883fc7b91dc690698812d0c3b.tar.bz2
gentoo-2-f56c2918da8c2a1883fc7b91dc690698812d0c3b.zip
Attempt to fix the initsystem. Blind commit as i dont have my hands on my desktop for at least 14 days.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/boinc/ChangeLog6
-rw-r--r--sci-misc/boinc/files/boinc.init7
2 files changed, 8 insertions, 5 deletions
diff --git a/sci-misc/boinc/ChangeLog b/sci-misc/boinc/ChangeLog
index 11cc4edb1c57..1a5246b72474 100644
--- a/sci-misc/boinc/ChangeLog
+++ b/sci-misc/boinc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-misc/boinc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.89 2010/07/09 16:49:01 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.90 2010/07/15 21:28:30 scarabeus Exp $
+
+ 15 Jul 2010; Tomáš Chvátal <scarabeus@gentoo.org> files/boinc.init:
+ Attempt to fix the initsystem. Blind commit as i dont have my hands on my
+ desktop for at least 14 days.
*boinc-6.10.58 (09 Jul 2010)
diff --git a/sci-misc/boinc/files/boinc.init b/sci-misc/boinc/files/boinc.init
index 1dc028eadd1a..74f00947d48e 100644
--- a/sci-misc/boinc/files/boinc.init
+++ b/sci-misc/boinc/files/boinc.init
@@ -61,9 +61,9 @@ start() {
fi
if [ -n "${RC_UNAME}" ]; then
- PARAMS="--background --stdout '${LOGFILE}' --stderr '${LOGFILE}' ${ARGS}"
+ PARAMS="--background --stdout '${LOGFILE}' --stderr '${LOGFILE}' -- ${ARGS}"
else
- PARAMS="${ARGS} >> '${LOGFILE}' 2>&1"
+ PARAMS="-- ${ARGS} >> '${LOGFILE}' 2>&1"
fi
generate_logs
@@ -77,12 +77,11 @@ start() {
eval ${CHRT} start-stop-daemon \
--start --quiet --chdir "${RUNTIMEDIR}" \
- --background \
--make-pidfile \
--pidfile "${PIDFILE}" \
--chuid "${USER}:${GROUP}" \
--nicelevel "${NICELEVEL}" \
- --exec "${BOINCBIN}" -- ${PARAMS}
+ --exec "${BOINCBIN}" ${PARAMS}
RESULT=$?