[torquedev] Patch for SUSE init scripts
Tobias Burnus
burnus at net-b.de
Sat Nov 22 15:20:31 MST 2008
Hello,
could you please apply the attached patch for the SUSE version of the
init.d scripts? They correct a bug in the Required-Start part and make
it pass the rpmlint tests.
Thank you,
Tobias
-------------- next part --------------
diff -ur ../torque-2.3.1.orig/contrib/init.d/suse.pbs_mom contrib//init.d/suse.pbs_mom
--- ../torque-2.3.1.orig/contrib/init.d/suse.pbs_mom 2008-03-06 22:29:09.000000000 +0100
+++ contrib//init.d/suse.pbs_mom 2008-07-03 19:41:01.000000000 +0200
@@ -4,13 +4,16 @@
#
### BEGIN INIT INFO
# Provides: pbs_mom
-# Required-Start: $local_fs
+# Required-Start: $syslog $remote_fs
# Should-Start: pbs_server pbs_sched
-# Required-Stop:
+# Required-Stop: $syslog $remote_fs
-# Should-Stop:
+# Should-Stop: $null
# Default-Start: 2 3 5
# Default-Stop:
-# Description: Torque is a versatile batch system for SMPs and clusters
+# Short-Description: Torque Node Manager Daemon
+# Description: Torque is a versatile batch system for SMPs and clusters.
+# This starts the operation of a batch Machine Oriented Mini-server,
+# MOM, on the local host.
### END INIT INFO
PBS_DAEMON=/usr/sbin/pbs_mom
diff -ur ../torque-2.3.1.orig/contrib/init.d/suse.pbs_sched contrib//init.d/suse.pbs_sched
--- ../torque-2.3.1.orig/contrib/init.d/suse.pbs_sched 2008-03-06 22:29:09.000000000 +0100
+++ contrib//init.d/suse.pbs_sched 2008-07-03 19:41:05.000000000 +0200
@@ -4,13 +4,18 @@
#
### BEGIN INIT INFO
# Provides: pbs_sched
-# Required-Start: $local_fs
+# Required-Start: $syslog $remote_fs
# Should-Start: pbs_server
-# Required-Stop:
+# Required-Stop: $syslog $remote_fs
-# Should-Stop:
+# Should-Stop: $null
# Default-Start: 2 3 5
# Default-Stop:
-# Description: Torque is a versatile batch system for SMPs and clusters
+# Short-Description: Torque scheduler
+# Description: Torque is a versatile batch system for SMPs and clusters.
+# Starts the PBS scheduler, which runs in conjunction with the PBS server.
+# it queries the server about the state of PBS and communicates with
+# pbs_resmon to get information about the status of running jobs, memory
+# available etc. It then makes decisions as to what jobs to run.
### END INIT INFO
PBS_DAEMON=/usr/sbin/pbs_sched
diff -ur ../torque-2.3.1.orig/contrib/init.d/suse.pbs_server contrib//init.d/suse.pbs_server
--- ../torque-2.3.1.orig/contrib/init.d/suse.pbs_server 2008-03-06 22:29:09.000000000 +0100
+++ contrib//init.d/suse.pbs_server 2008-07-03 19:08:02.000000000 +0200
@@ -4,13 +4,16 @@
#
### BEGIN INIT INFO
# Provides: pbs_server
-# Required-Start: $local_fs
+# Required-Start: $syslog $remote_fs
# Should-Start:
-# Required-Stop:
+# Required-Stop: $syslog $remote_fs
-# Should-Stop:
+# Should-Stop: $null
# Default-Start: 2 3 5
# Default-Stop:
-# Description: Torque is a versatile batch system for SMPs and clusters
+# Short-Description: Torque server
+# Description: Torque is a versatile batch system for SMPs and clusters.
+# Starts the PBS batch server, which operates as batch server
+# on the local host.
### END INIT INFO
PBS_DAEMON=/usr/sbin/pbs_server
More information about the torquedev
mailing list