public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/gogoc/files: gogoc.rc
@ 2010-10-11 23:00 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 4+ messages in thread
From: Diego Petteno (flameeyes) @ 2010-10-11 23:00 UTC (permalink / raw
  To: gentoo-commits

flameeyes    10/10/11 23:00:39

  Modified:             gogoc.rc
  Log:
  Polish around some of the problems found while trying to run this in production.
  
  (Portage version: 2.2_rc92/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  net-misc/gogoc/files/gogoc.rc

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

Index: gogoc.rc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/gogoc/files/gogoc.rc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gogoc.rc	11 Oct 2010 21:34:24 -0000	1.1
+++ gogoc.rc	11 Oct 2010 23:00:39 -0000	1.2
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/files/gogoc.rc,v 1.1 2010/10/11 21:34:24 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/files/gogoc.rc,v 1.2 2010/10/11 23:00:39 flameeyes Exp $
 
 depend() {
 	need net localmount
@@ -19,15 +19,10 @@
 }
 
 checkconfig() {
-	if ! [ -f /etc/gogoc.conf ]; then
+	if ! [ -f /etc/gogoc/gogoc.conf ]; then
 		eerror "Unable to find configuration file /etc/gogoc.conf"
 		return 1
 	fi
-
-        if [ `stat -c '%a' /etc/fstab | cut -c 2-` != '00' ]; then
-		eerror "Configuration file /etc/gogoc.conf should not be user-readable"
-		return 1
-        fi
 }
 
 start() {
@@ -36,7 +31,7 @@
 
 	ebegin "Starting gogoCLIENT"
 	start-stop-daemon --start --exec /usr/sbin/gogoc \
-		--chdir /var/lib/gogoc -- -f /etc/gogoc.conf
+		--chdir /var/lib/gogoc
 	eend $?
 }
 






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

* [gentoo-commits] gentoo-x86 commit in net-misc/gogoc/files: gogoc.rc
@ 2010-10-12  1:47 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 4+ messages in thread
From: Diego Petteno (flameeyes) @ 2010-10-12  1:47 UTC (permalink / raw
  To: gentoo-commits

flameeyes    10/10/12 01:47:43

  Modified:             gogoc.rc
  Log:
  Fix init script parameters.
  
  (Portage version: 2.2_rc92/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  net-misc/gogoc/files/gogoc.rc

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

Index: gogoc.rc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/gogoc/files/gogoc.rc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gogoc.rc	11 Oct 2010 23:00:39 -0000	1.2
+++ gogoc.rc	12 Oct 2010 01:47:43 -0000	1.3
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/files/gogoc.rc,v 1.2 2010/10/11 23:00:39 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/files/gogoc.rc,v 1.3 2010/10/12 01:47:43 flameeyes Exp $
 
 depend() {
 	need net localmount
@@ -31,7 +31,7 @@
 
 	ebegin "Starting gogoCLIENT"
 	start-stop-daemon --start --exec /usr/sbin/gogoc \
-		--chdir /var/lib/gogoc
+		--chdir /var/lib/gogoc -- -f /etc/gogog/gogoc.conf -y
 	eend $?
 }
 






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

* [gentoo-commits] gentoo-x86 commit in net-misc/gogoc/files: gogoc.rc
@ 2010-10-12 18:21 Bernard Cafarelli (voyageur)
  0 siblings, 0 replies; 4+ messages in thread
From: Bernard Cafarelli (voyageur) @ 2010-10-12 18:21 UTC (permalink / raw
  To: gentoo-commits

voyageur    10/10/12 18:21:16

  Modified:             gogoc.rc
  Log:
  Small typo on configuration file path
  
  (Portage version: 2.2_rc94/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  net-misc/gogoc/files/gogoc.rc

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

Index: gogoc.rc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/gogoc/files/gogoc.rc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gogoc.rc	12 Oct 2010 01:47:43 -0000	1.3
+++ gogoc.rc	12 Oct 2010 18:21:16 -0000	1.4
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/files/gogoc.rc,v 1.3 2010/10/12 01:47:43 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/files/gogoc.rc,v 1.4 2010/10/12 18:21:16 voyageur Exp $
 
 depend() {
 	need net localmount
@@ -31,7 +31,7 @@
 
 	ebegin "Starting gogoCLIENT"
 	start-stop-daemon --start --exec /usr/sbin/gogoc \
-		--chdir /var/lib/gogoc -- -f /etc/gogog/gogoc.conf -y
+		--chdir /var/lib/gogoc -- -f /etc/gogoc/gogoc.conf -y
 	eend $?
 }
 






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

* [gentoo-commits] gentoo-x86 commit in net-misc/gogoc/files: gogoc.rc
@ 2012-02-03  9:22 Bernard Cafarelli (voyageur)
  0 siblings, 0 replies; 4+ messages in thread
From: Bernard Cafarelli (voyageur) @ 2012-02-03  9:22 UTC (permalink / raw
  To: gentoo-commits

voyageur    12/02/03 09:22:02

  Modified:             gogoc.rc
  Log:
  Fix warning message in init script, bug #401877
  
  (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

Revision  Changes    Path
1.5                  net-misc/gogoc/files/gogoc.rc

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

Index: gogoc.rc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/gogoc/files/gogoc.rc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gogoc.rc	12 Oct 2010 18:21:16 -0000	1.4
+++ gogoc.rc	3 Feb 2012 09:22:02 -0000	1.5
@@ -1,7 +1,7 @@
 #!/sbin/runscript
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/files/gogoc.rc,v 1.4 2010/10/12 18:21:16 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/files/gogoc.rc,v 1.5 2012/02/03 09:22:02 voyageur Exp $
 
 depend() {
 	need net localmount
@@ -20,7 +20,7 @@
 
 checkconfig() {
 	if ! [ -f /etc/gogoc/gogoc.conf ]; then
-		eerror "Unable to find configuration file /etc/gogoc.conf"
+		eerror "Unable to find configuration file /etc/gogoc/gogoc.conf"
 		return 1
 	fi
 }






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

end of thread, other threads:[~2012-02-03  9:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-12  1:47 [gentoo-commits] gentoo-x86 commit in net-misc/gogoc/files: gogoc.rc Diego Petteno (flameeyes)
  -- strict thread matches above, loose matches on Subject: below --
2012-02-03  9:22 Bernard Cafarelli (voyageur)
2010-10-12 18:21 Bernard Cafarelli (voyageur)
2010-10-11 23:00 Diego Petteno (flameeyes)

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