public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-nntp/hellanzb/files: hellanzb.init
@ 2008-04-16 11:09 Ben de Groot (yngwin)
  0 siblings, 0 replies; 3+ messages in thread
From: Ben de Groot (yngwin) @ 2008-04-16 11:09 UTC (permalink / raw
  To: gentoo-commits

yngwin      08/04/16 11:09:46

  Modified:             hellanzb.init
  Log:
  Updating hellanzb.init to make it compatible with baselayout-2 and openrc.
  (Portage version: 2.1.5_rc3)

Revision  Changes    Path
1.2                  net-nntp/hellanzb/files/hellanzb.init

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

Index: hellanzb.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-nntp/hellanzb/files/hellanzb.init,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hellanzb.init	5 Apr 2007 18:35:25 -0000	1.1
+++ hellanzb.init	16 Apr 2008 11:09:46 -0000	1.2
@@ -18,7 +18,7 @@
 	export PATH="${PATH}:/opt/bin"
         start-stop-daemon --quiet --start -c ${HELLA_USER} \
 		-g ${HELLA_GROUP} \
-                --exec /usr/bin/hellanzb.py -- \
+                --exec /usr/bin/python /usr/bin/hellanzb.py -- \
                 -D -c ${HELLA_CONFIGFILE} ${HELLA_OPTS} &> /dev/null
 	eend $?
 }



-- 
gentoo-commits@lists.gentoo.org mailing list



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

* [gentoo-commits] gentoo-x86 commit in net-nntp/hellanzb/files: hellanzb.init
@ 2008-04-22 12:17 Ben de Groot (yngwin)
  0 siblings, 0 replies; 3+ messages in thread
From: Ben de Groot (yngwin) @ 2008-04-22 12:17 UTC (permalink / raw
  To: gentoo-commits

yngwin      08/04/22 12:17:23

  Modified:             hellanzb.init
  Log:
  This time really fixing hellanzb.init
  (Portage version: 2.1.5_rc6)

Revision  Changes    Path
1.3                  net-nntp/hellanzb/files/hellanzb.init

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

Index: hellanzb.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-nntp/hellanzb/files/hellanzb.init,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- hellanzb.init	16 Apr 2008 11:09:46 -0000	1.2
+++ hellanzb.init	22 Apr 2008 12:17:23 -0000	1.3
@@ -17,8 +17,8 @@
 
 	export PATH="${PATH}:/opt/bin"
         start-stop-daemon --quiet --start -c ${HELLA_USER} \
-		-g ${HELLA_GROUP} \
-                --exec /usr/bin/python /usr/bin/hellanzb.py -- \
+		-g ${HELLA_GROUP} --name hellanzb.py \
+                --exec /usr/bin/hellanzb.py -- \
                 -D -c ${HELLA_CONFIGFILE} ${HELLA_OPTS} &> /dev/null
 	eend $?
 }



-- 
gentoo-commits@lists.gentoo.org mailing list



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

* [gentoo-commits] gentoo-x86 commit in net-nntp/hellanzb/files: hellanzb.init
@ 2010-04-23 13:46 Alexis Ballier (aballier)
  0 siblings, 0 replies; 3+ messages in thread
From: Alexis Ballier (aballier) @ 2010-04-23 13:46 UTC (permalink / raw
  To: gentoo-commits

aballier    10/04/23 13:46:56

  Modified:             hellanzb.init
  Log:
  init script improvements by Vladimir Brik <no.hope@gmail.com>, bug #293222
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  net-nntp/hellanzb/files/hellanzb.init

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

Index: hellanzb.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-nntp/hellanzb/files/hellanzb.init,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- hellanzb.init	22 Apr 2008 12:17:23 -0000	1.3
+++ hellanzb.init	23 Apr 2010 13:46:56 -0000	1.4
@@ -14,9 +14,11 @@
 		eend 1
 		return 1
 	fi
+	if [ "${RC_CMD}" = "restart" ] ; then
+		sleep 1 # wait for socket to be released
+	fi
 
-	export PATH="${PATH}:/opt/bin"
-        start-stop-daemon --quiet --start -c ${HELLA_USER} \
+        start-stop-daemon --start -c ${HELLA_USER} \
 		-g ${HELLA_GROUP} --name hellanzb.py \
                 --exec /usr/bin/hellanzb.py -- \
                 -D -c ${HELLA_CONFIGFILE} ${HELLA_OPTS} &> /dev/null
@@ -25,8 +27,7 @@
 
 stop() {
 	ebegin "Stopping hellanzb"
-	start-stop-daemon --quiet --stop \
-		--name hellanzb.py
+	/usr/bin/hellanzb.py shutdown &> /dev/null
 	eend $?
 }
 






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

end of thread, other threads:[~2010-04-23 13:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-23 13:46 [gentoo-commits] gentoo-x86 commit in net-nntp/hellanzb/files: hellanzb.init Alexis Ballier (aballier)
  -- strict thread matches above, loose matches on Subject: below --
2008-04-22 12:17 Ben de Groot (yngwin)
2008-04-16 11:09 Ben de Groot (yngwin)

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