public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tomas Chvatal (scarabeus)" <scarabeus@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
Date: Fri,  9 Jul 2010 16:49:01 +0000 (UTC)	[thread overview]
Message-ID: <20100709164901.A92D12C5F4@corvid.gentoo.org> (raw)

scarabeus    10/07/09 16:49:01

  Modified:             boinc.init
  Log:
  Version bump. Drop older. Fix bugs #323635 #309439 #314155.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.20                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.20&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.20&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.19&r2=1.20

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- boinc.init	22 Nov 2009 13:38:27 -0000	1.19
+++ boinc.init	9 Jul 2010 16:49:01 -0000	1.20
@@ -57,27 +57,32 @@
 	fi
 
 	if [ "${ALLOW_REMOTE_RPC}" = "yes" ]; then
-		ARGS="${ARGS} -allow_remote_gui_rpc"
+		ARGS="${ARGS} --allow_remote_gui_rpc"
 	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
 
-	# sys-apps/util-linux
-	CHRT="/usr/bin/chrt ${SCHED_PARAM}"
+	# sys-apps/util-linux (setup scheduling policy if specified, otherwise blank out
+    if [ "${SCHED_PARAM}" = "" ]; then
+        CHRT=""
+    else
+    	CHRT="/usr/bin/chrt ${SCHED_PARAM}"
+    fi
 
 	eval ${CHRT} start-stop-daemon \
-		--quiet --start --chdir "${RUNTIMEDIR}" \
-		--pidfile "${PIDFILE}" \
+		--start --quiet --chdir "${RUNTIMEDIR}" \
+        --background \
 		--make-pidfile \
-		--exec "${BOINCBIN}" --chuid "${USER}:${GROUP}" \
+		--pidfile "${PIDFILE}" \
+        --chuid "${USER}:${GROUP}" \
 		--nicelevel "${NICELEVEL}" \
-		${PARAMS}
+		--exec "${BOINCBIN}" -- ${PARAMS}
 
 	RESULT=$?
 






             reply	other threads:[~2010-07-09 16:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-09 16:49 Tomas Chvatal (scarabeus) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-10-23 18:55 [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init Lars Wendler (polynomial-c)
2011-09-08 15:56 Tomas Chvatal (scarabeus)
2011-05-23 19:47 Tomas Chvatal (scarabeus)
2011-05-22  9:26 Tomas Chvatal (scarabeus)
2010-07-19 20:34 Tomas Chvatal (scarabeus)
2010-07-15 21:28 Tomas Chvatal (scarabeus)
2009-11-22 13:38 Tomas Chvatal (scarabeus)
2009-11-10 21:42 Tomas Chvatal (scarabeus)
2009-09-02 21:22 Tomas Chvatal (scarabeus)
2009-07-24 10:58 Tomas Chvatal (scarabeus)
2009-07-08  9:00 Tomas Chvatal (scarabeus)
2009-05-29 16:42 Tomas Chvatal (scarabeus)
2009-04-23 16:13 Tomas Chvatal (scarabeus)
2009-04-23 16:00 Tomas Chvatal (scarabeus)
2009-03-11 20:48 Tomas Chvatal (scarabeus)
2009-02-03 14:58 Tomas Chvatal (scarabeus)
2009-02-01 23:06 Tomas Chvatal (scarabeus)
2009-02-01 14:33 Tomas Chvatal (scarabeus)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100709164901.A92D12C5F4@corvid.gentoo.org \
    --to=scarabeus@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox