public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-p2p/rtorrent/files: rtorrentd.init
@ 2009-05-20  3:08 Jeremy Olexa (darkside)
  0 siblings, 0 replies; 7+ messages in thread
From: Jeremy Olexa (darkside) @ 2009-05-20  3:08 UTC (permalink / raw
  To: gentoo-commits

darkside    09/05/20 03:08:12

  Modified:             rtorrentd.init
  Log:
  Allow init script to find homedir instead of hardcoding it, patch by Michał Górny, bug 265969
  (Portage version: 2.1.6.13/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  net-p2p/rtorrent/files/rtorrentd.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?r1=1.1&r2=1.2

Index: rtorrentd.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rtorrentd.init	26 Dec 2008 07:01:43 -0000	1.1
+++ rtorrentd.init	20 May 2009 03:08:12 -0000	1.2
@@ -1,17 +1,19 @@
 #!/sbin/runscript
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.1 2008/12/26 07:01:43 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.2 2009/05/20 03:08:12 darkside Exp $
 
 depend() {
 	use net.*
 }
 
 start() {
+	PWHOME="$(getent passwd $USER | awk -F: '{ print $6 }')"
+
 	ebegin "Starting rtorrent"
 	start-stop-daemon --start --chuid $USER \
 	--env TERM="xterm" \
-	--env HOME="/home/$USER" \
+	--env HOME="${PWHOME:-/home/$USER}" \
 	--exec /usr/bin/screen -- -dmS rtorrentd /usr/bin/rtorrent
 	eend $?
 }






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-p2p/rtorrent/files: rtorrentd.init
@ 2009-07-28 21:52 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 7+ messages in thread
From: Robin H. Johnson (robbat2) @ 2009-07-28 21:52 UTC (permalink / raw
  To: gentoo-commits

robbat2     09/07/28 21:52:33

  Modified:             rtorrentd.init
  Log:
  Bug #262046: If used with a non-local NSS source, we need to start after those.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  net-p2p/rtorrent/files/rtorrentd.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?r1=1.2&r2=1.3

Index: rtorrentd.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v
retrieving revision 1.2
retrieving revision 1.3
diff -p -w -b -B -u -u -r1.2 -r1.3
--- rtorrentd.init	20 May 2009 03:08:12 -0000	1.2
+++ rtorrentd.init	28 Jul 2009 21:52:33 -0000	1.3
@@ -1,10 +1,11 @@
 #!/sbin/runscript
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.2 2009/05/20 03:08:12 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.3 2009/07/28 21:52:33 robbat2 Exp $
 
 depend() {
-	use net.*
+	use net ypbind nis
+	after slapd mysqld postgresql
 }
 
 start() {






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-p2p/rtorrent/files: rtorrentd.init
@ 2009-11-16 13:01 Dawid Weglinski (cla)
  0 siblings, 0 replies; 7+ messages in thread
From: Dawid Weglinski (cla) @ 2009-11-16 13:01 UTC (permalink / raw
  To: gentoo-commits

cla         09/11/16 13:01:28

  Modified:             rtorrentd.init
  Log:
  Fix init.d script to use env rather than double --env parametr passed to s-s-d as it wont start for stable baselayout-1 users (bug #292515). Mark stable on amd64 (bug #291036)
  (Portage version: 2.2_rc49/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  net-p2p/rtorrent/files/rtorrentd.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?r1=1.3&r2=1.4

Index: rtorrentd.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- rtorrentd.init	28 Jul 2009 21:52:33 -0000	1.3
+++ rtorrentd.init	16 Nov 2009 13:01:28 -0000	1.4
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.3 2009/07/28 21:52:33 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.4 2009/11/16 13:01:28 cla Exp $
 
 depend() {
 	use net ypbind nis
@@ -12,8 +12,8 @@
 	PWHOME="$(getent passwd $USER | awk -F: '{ print $6 }')"
 
 	ebegin "Starting rtorrent"
+	env TERM="xterm" \
 	start-stop-daemon --start --chuid $USER \
-	--env TERM="xterm" \
 	--env HOME="${PWHOME:-/home/$USER}" \
 	--exec /usr/bin/screen -- -dmS rtorrentd /usr/bin/rtorrent
 	eend $?






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-p2p/rtorrent/files: rtorrentd.init
@ 2010-03-18 20:30 Dror Levin (spatz)
  0 siblings, 0 replies; 7+ messages in thread
From: Dror Levin (spatz) @ 2010-03-18 20:30 UTC (permalink / raw
  To: gentoo-commits

spatz       10/03/18 20:30:24

  Modified:             rtorrentd.init
  Log:
  Fix screen invocation in initd script, bug 294435.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.5                  net-p2p/rtorrent/files/rtorrentd.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?r1=1.4&r2=1.5

Index: rtorrentd.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- rtorrentd.init	16 Nov 2009 13:01:28 -0000	1.4
+++ rtorrentd.init	18 Mar 2010 20:30:24 -0000	1.5
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.4 2009/11/16 13:01:28 cla Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.5 2010/03/18 20:30:24 spatz Exp $
 
 depend() {
 	use net ypbind nis
@@ -13,9 +13,12 @@
 
 	ebegin "Starting rtorrent"
 	env TERM="xterm" \
-	start-stop-daemon --start --chuid $USER \
-	--env HOME="${PWHOME:-/home/$USER}" \
-	--exec /usr/bin/screen -- -dmS rtorrentd /usr/bin/rtorrent
+		start-stop-daemon \
+			--start \
+			--user $USER \
+			--env HOME="${PWHOME:-/home/$USER}" \
+			--name rtorrent \
+			--exec /usr/bin/screen -- -dmS rtorrentd /usr/bin/rtorrent
 	eend $?
 }
 






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-p2p/rtorrent/files: rtorrentd.init
@ 2011-04-11 21:24 Stanislav Ochotnicky (sochotnicky)
  0 siblings, 0 replies; 7+ messages in thread
From: Stanislav Ochotnicky (sochotnicky) @ 2011-04-11 21:24 UTC (permalink / raw
  To: gentoo-commits

sochotnicky    11/04/11 21:24:18

  Modified:             rtorrentd.init
  Log:
  Fixed up init script a bit
  Removed old ~arch ebuilds that have been superseded
  
  (Portage version: 2.1.9.42/cvs/Linux x86_64)

Revision  Changes    Path
1.6                  net-p2p/rtorrent/files/rtorrentd.init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?r1=1.5&r2=1.6

Index: rtorrentd.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- rtorrentd.init	18 Mar 2010 20:30:24 -0000	1.5
+++ rtorrentd.init	11 Apr 2011 21:24:18 -0000	1.6
@@ -1,7 +1,7 @@
 #!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.5 2010/03/18 20:30:24 spatz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.6 2011/04/11 21:24:18 sochotnicky Exp $
 
 depend() {
 	use net ypbind nis
@@ -16,9 +16,10 @@
 		start-stop-daemon \
 			--start \
 			--user $USER \
+			--chuid $USER \
 			--env HOME="${PWHOME:-/home/$USER}" \
 			--name rtorrent \
-			--exec /usr/bin/screen -- -dmS rtorrentd /usr/bin/rtorrent
+			--exec /usr/bin/screen -- -d -m -S rtorrentd /usr/bin/rtorrent
 	eend $?
 }
 






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-p2p/rtorrent/files: rtorrentd.init
@ 2011-05-09 21:34 Stanislav Ochotnicky (sochotnicky)
  0 siblings, 0 replies; 7+ messages in thread
From: Stanislav Ochotnicky (sochotnicky) @ 2011-05-09 21:34 UTC (permalink / raw
  To: gentoo-commits

sochotnicky    11/05/09 21:34:21

  Modified:             rtorrentd.init
  Log:
  Fixed up init script for daemon mode (problems when using baselayout-2)
  
  (Portage version: 2.1.9.42/cvs/Linux x86_64)

Revision  Changes    Path
1.7                  net-p2p/rtorrent/files/rtorrentd.init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?r1=1.6&r2=1.7

Index: rtorrentd.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- rtorrentd.init	11 Apr 2011 21:24:18 -0000	1.6
+++ rtorrentd.init	9 May 2011 21:34:21 -0000	1.7
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.6 2011/04/11 21:24:18 sochotnicky Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.7 2011/05/09 21:34:21 sochotnicky Exp $
 
 depend() {
 	use net ypbind nis
@@ -15,16 +15,20 @@
 	env TERM="xterm" \
 		start-stop-daemon \
 			--start \
+			--make-pidfile \
+			--pidfile /var/run/rtorrentd.pid \
+			--background \
 			--user $USER \
 			--chuid $USER \
 			--env HOME="${PWHOME:-/home/$USER}" \
 			--name rtorrent \
-			--exec /usr/bin/screen -- -d -m -S rtorrentd /usr/bin/rtorrent
+			--exec /usr/bin/screen -- -D -m -S rtorrentd /usr/bin/rtorrent
 	eend $?
 }
 
 stop() {
 	ebegin "Stopping rtorrent"
-	start-stop-daemon --stop --signal 2 --name rtorrent
+	start-stop-daemon --stop --signal 15 \
+			--pidfile /var/run/rtorrentd.pid
 	eend $?
 }






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-p2p/rtorrent/files: rtorrentd.init
@ 2011-11-07 15:46 Jeremy Olexa (darkside)
  0 siblings, 0 replies; 7+ messages in thread
From: Jeremy Olexa (darkside) @ 2011-11-07 15:46 UTC (permalink / raw
  To: gentoo-commits

darkside    11/11/07 15:46:30

  Modified:             rtorrentd.init
  Log:
  remove deprecated init option, bug 384541 (no revbump on purpose)
  
  (Portage version: 2.1.10.11/cvs/Linux i686)

Revision  Changes    Path
1.8                  net-p2p/rtorrent/files/rtorrentd.init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init?r1=1.7&r2=1.8

Index: rtorrentd.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- rtorrentd.init	9 May 2011 21:34:21 -0000	1.7
+++ rtorrentd.init	7 Nov 2011 15:46:30 -0000	1.8
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.7 2011/05/09 21:34:21 sochotnicky Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/files/rtorrentd.init,v 1.8 2011/11/07 15:46:30 darkside Exp $
 
 depend() {
 	use net ypbind nis
@@ -19,7 +19,6 @@
 			--pidfile /var/run/rtorrentd.pid \
 			--background \
 			--user $USER \
-			--chuid $USER \
 			--env HOME="${PWHOME:-/home/$USER}" \
 			--name rtorrent \
 			--exec /usr/bin/screen -- -D -m -S rtorrentd /usr/bin/rtorrent






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-07 15:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-11 21:24 [gentoo-commits] gentoo-x86 commit in net-p2p/rtorrent/files: rtorrentd.init Stanislav Ochotnicky (sochotnicky)
  -- strict thread matches above, loose matches on Subject: below --
2011-11-07 15:46 Jeremy Olexa (darkside)
2011-05-09 21:34 Stanislav Ochotnicky (sochotnicky)
2010-03-18 20:30 Dror Levin (spatz)
2009-11-16 13:01 Dawid Weglinski (cla)
2009-07-28 21:52 Robin H. Johnson (robbat2)
2009-05-20  3:08 Jeremy Olexa (darkside)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox