public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-cluster/torque/files: pbs_server-init.d pbs_server-init.d-munge
@ 2012-01-06  2:54 Justin Bronder (jsbronder)
  0 siblings, 0 replies; only message in thread
From: Justin Bronder (jsbronder) @ 2012-01-06  2:54 UTC (permalink / raw
  To: gentoo-commits

jsbronder    12/01/06 02:54:54

  Modified:             pbs_server-init.d pbs_server-init.d-munge
  Log:
  Update pbs_server initd to handle xml servers.  Improve pkg_config.  Misc fixes (#397525).
  
  (Portage version: 2.1.10.11/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  sys-cluster/torque/files/pbs_server-init.d

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/torque/files/pbs_server-init.d?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/torque/files/pbs_server-init.d?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/torque/files/pbs_server-init.d?r1=1.1&r2=1.2

Index: pbs_server-init.d
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/torque/files/pbs_server-init.d,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pbs_server-init.d	5 Aug 2010 03:18:43 -0000	1.1
+++ pbs_server-init.d	6 Jan 2012 02:54:53 -0000	1.2
@@ -1,5 +1,5 @@
 #!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 . /etc/conf.d/torque 
@@ -20,14 +20,12 @@
         fi
     done
 
-    for i in "acl_svr/operators" "serverdb"; do
-        if [ ! -e "${PBS_SERVER_HOME}/server_priv/${i}" ]; then
-            eerror "Torque has not been fully configured to run."
-            eerror "Missing ${i}"
-            return 1
-        fi
-    done
-    
+    if [ ! -e "${PBS_SERVER_HOME}/server_priv/serverdb" ]; then
+        eerror "Torque has not been fully configured to run."
+        eerror "Missing ${PBS_SERVER_HOME}/server_priv/serverdb"
+        return 1
+    fi
+
     if [ -z "$(grep 'queue_type' ${PBS_SERVER_HOME}/server_priv/queues/*)" ]; then
         eerror "No queues have been defined yet."
         return 1



1.2                  sys-cluster/torque/files/pbs_server-init.d-munge

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/torque/files/pbs_server-init.d-munge?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/torque/files/pbs_server-init.d-munge?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/torque/files/pbs_server-init.d-munge?r1=1.1&r2=1.2

Index: pbs_server-init.d-munge
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/torque/files/pbs_server-init.d-munge,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pbs_server-init.d-munge	26 Jun 2011 00:47:16 -0000	1.1
+++ pbs_server-init.d-munge	6 Jan 2012 02:54:53 -0000	1.2
@@ -1,5 +1,5 @@
 #!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 . /etc/conf.d/torque 
@@ -21,14 +21,12 @@
         fi
     done
 
-    for i in "acl_svr/operators" "serverdb"; do
-        if [ ! -e "${PBS_SERVER_HOME}/server_priv/${i}" ]; then
-            eerror "Torque has not been fully configured to run."
-            eerror "Missing ${i}"
-            return 1
-        fi
-    done
-    
+    if [ ! -e "${PBS_SERVER_HOME}/server_priv/serverdb" ]; then
+        eerror "Torque has not been fully configured to run."
+        eerror "Missing ${PBS_SERVER_HOME}/server_priv/serverdb"
+        return 1
+    fi
+
     if [ -z "$(grep 'queue_type' ${PBS_SERVER_HOME}/server_priv/queues/*)" ]; then
         eerror "No queues have been defined yet."
         return 1






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-06  2:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-06  2:54 [gentoo-commits] gentoo-x86 commit in sys-cluster/torque/files: pbs_server-init.d pbs_server-init.d-munge Justin Bronder (jsbronder)

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