public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-analyzer/vnstat/files: vnstatd.initd
@ 2011-09-04 17:41 Jeroen Roovers (jer)
  0 siblings, 0 replies; 5+ messages in thread
From: Jeroen Roovers (jer) @ 2011-09-04 17:41 UTC (permalink / raw
  To: gentoo-commits

jer         11/09/04 17:41:24

  Modified:             vnstatd.initd
  Log:
  Replace deprecated --chuid option in init.d script (bug #381793).
  
  (Portage version: 2.2.0_alpha52/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  net-analyzer/vnstat/files/vnstatd.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?r1=1.1&r2=1.2

Index: vnstatd.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vnstatd.initd	21 Jun 2009 16:57:54 -0000	1.1
+++ vnstatd.initd	4 Sep 2011 17:41:24 -0000	1.2
@@ -1,7 +1,7 @@
 #!/sbin/runscript
-# Copyright 2009 Gentoo Foundation
+# Copyright 2009-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.1 2009/06/21 16:57:54 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.2 2011/09/04 17:41:24 jer Exp $
 
 opts="reload"
 
@@ -15,7 +15,7 @@
 	ebegin "Starting vnstatd"
 	start-stop-daemon --start --quiet \
 		--pidfile "${VNSTATD_PIDFILE}" \
-		--chuid vnstat:vnstat \
+		--user vnstat --group vnstat \
 		--nicelevel ${VNSTATD_NICELEVEL:-0} \
 		--exec /usr/bin/vnstatd -- \
 		-d ${VNSTATD_EXTRAOPTS} -p ${VNSTATD_PIDFILE}






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

* [gentoo-commits] gentoo-x86 commit in net-analyzer/vnstat/files: vnstatd.initd
@ 2011-09-04 17:54 Jeroen Roovers (jer)
  0 siblings, 0 replies; 5+ messages in thread
From: Jeroen Roovers (jer) @ 2011-09-04 17:54 UTC (permalink / raw
  To: gentoo-commits

jer         11/09/04 17:54:50

  Modified:             vnstatd.initd
  Log:
  Add support for cleaned /var/run on startup by Xake and i.Dark_Templar (bug #332429).
  
  (Portage version: 2.2.0_alpha52/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  net-analyzer/vnstat/files/vnstatd.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?r1=1.2&r2=1.3

Index: vnstatd.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vnstatd.initd	4 Sep 2011 17:41:24 -0000	1.2
+++ vnstatd.initd	4 Sep 2011 17:54:49 -0000	1.3
@@ -1,7 +1,7 @@
 #!/sbin/runscript
-# Copyright 2009-2011 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.2 2011/09/04 17:41:24 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.3 2011/09/04 17:54:49 jer Exp $
 
 opts="reload"
 
@@ -13,6 +13,7 @@
 
 start() {
 	ebegin "Starting vnstatd"
+	checkpath -q -d -m 755 -o vnstat:vnstat $( dirname /var/run/vnstatd )
 	start-stop-daemon --start --quiet \
 		--pidfile "${VNSTATD_PIDFILE}" \
 		--user vnstat --group vnstat \






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

* [gentoo-commits] gentoo-x86 commit in net-analyzer/vnstat/files: vnstatd.initd
@ 2011-10-17 14:48 Jeroen Roovers (jer)
  0 siblings, 0 replies; 5+ messages in thread
From: Jeroen Roovers (jer) @ 2011-10-17 14:48 UTC (permalink / raw
  To: gentoo-commits

jer         11/10/17 14:48:04

  Modified:             vnstatd.initd
  Log:
  Run checkpath on the directory itself, not its parent.
  
  (Portage version: 2.2.0_alpha67/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  net-analyzer/vnstat/files/vnstatd.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?r1=1.3&r2=1.4

Index: vnstatd.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- vnstatd.initd	4 Sep 2011 17:54:49 -0000	1.3
+++ vnstatd.initd	17 Oct 2011 14:48:04 -0000	1.4
@@ -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-analyzer/vnstat/files/vnstatd.initd,v 1.3 2011/09/04 17:54:49 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.4 2011/10/17 14:48:04 jer Exp $
 
 opts="reload"
 
@@ -13,7 +13,7 @@
 
 start() {
 	ebegin "Starting vnstatd"
-	checkpath -q -d -m 755 -o vnstat:vnstat $( dirname /var/run/vnstatd )
+	checkpath -q -d -m 755 -o vnstat:vnstat /var/run/vnstatd
 	start-stop-daemon --start --quiet \
 		--pidfile "${VNSTATD_PIDFILE}" \
 		--user vnstat --group vnstat \






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

* [gentoo-commits] gentoo-x86 commit in net-analyzer/vnstat/files: vnstatd.initd
@ 2012-01-01  1:18 Christian Ruppert (idl0r)
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Ruppert (idl0r) @ 2012-01-01  1:18 UTC (permalink / raw
  To: gentoo-commits

idl0r       12/01/01 01:18:05

  Modified:             vnstatd.initd
  Log:
  Revbump. Don't use the deprecated $opts variable, bug 386115.
  
  (Portage version: 2.1.10.41/cvs/Linux i686, RepoMan options: --force)

Revision  Changes    Path
1.5                  net-analyzer/vnstat/files/vnstatd.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?r1=1.4&r2=1.5

Index: vnstatd.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- vnstatd.initd	17 Oct 2011 14:48:04 -0000	1.4
+++ vnstatd.initd	1 Jan 2012 01:18:05 -0000	1.5
@@ -1,9 +1,9 @@
 #!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.4 2011/10/17 14:48:04 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.5 2012/01/01 01:18:05 idl0r Exp $
 
-opts="reload"
+extra_started_commands="reload"
 
 depend() {
 	use net






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

* [gentoo-commits] gentoo-x86 commit in net-analyzer/vnstat/files: vnstatd.initd
@ 2012-01-01  1:19 Christian Ruppert (idl0r)
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Ruppert (idl0r) @ 2012-01-01  1:19 UTC (permalink / raw
  To: gentoo-commits

idl0r       12/01/01 01:19:16

  Modified:             vnstatd.initd
  Log:
  Forgot to remove a obsolete codeblock.
  
  (Portage version: 2.1.10.41/cvs/Linux i686, RepoMan options: --force)

Revision  Changes    Path
1.6                  net-analyzer/vnstat/files/vnstatd.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd?r1=1.5&r2=1.6

Index: vnstatd.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- vnstatd.initd	1 Jan 2012 01:18:05 -0000	1.5
+++ vnstatd.initd	1 Jan 2012 01:19:16 -0000	1.6
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.5 2012/01/01 01:18:05 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.6 2012/01/01 01:19:16 idl0r Exp $
 
 extra_started_commands="reload"
 
@@ -31,12 +31,6 @@
 }
 
 reload() {
-	if [ ! -f ${VNSTATD_PIDFILE} ]; then
-		eerror "Cannot reload configuration, vnstatd is not running"
-		eend 1
-		return 1
-	fi
-
 	ebegin "Reloading vnstatd configuration"
 	kill -HUP $(< "${VNSTATD_PIDFILE}") &>/dev/null
 	eend $?






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

end of thread, other threads:[~2012-01-01  1:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-04 17:54 [gentoo-commits] gentoo-x86 commit in net-analyzer/vnstat/files: vnstatd.initd Jeroen Roovers (jer)
  -- strict thread matches above, loose matches on Subject: below --
2012-01-01  1:19 Christian Ruppert (idl0r)
2012-01-01  1:18 Christian Ruppert (idl0r)
2011-10-17 14:48 Jeroen Roovers (jer)
2011-09-04 17:41 Jeroen Roovers (jer)

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