Changeset 12
- Timestamp:
- 08/06/07 17:44:58 (17 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/control
r9 r12 8 8 Package: torque 9 9 Architecture: any 10 Depends: ${shlibs:Depends} 10 Depends: ${shlibs:Depends}, coreutils, debconf | debconf-2.0 11 11 Description: Tera-scale Open-source Resource and QUEue manager 12 12 This package contains a batch system developed by supercluster.org -
trunk/postinst
r11 r12 9 9 10 10 SPOOLDIR=/var/spool/torque 11 SERVER_CONF_FILE=${SPOOLDIR}/server_name 11 12 CONFIG_FILE=/etc/default/torque 12 13 MKDIR="/usr/sbin/pbs_mkdirs" … … 98 99 99 100 # 101 # Generate server_name 102 # 103 if [ "$1" = configure -o ! -f $SERVER_CONF_FILE ]; then 104 db_get torque/server_name || true 105 NEW_SERVER_NAME="$RET" 106 OLD_SERVER_NAME="`cat $SERVER_CONF_FILE`" 107 108 if [ $OLD_SERVER_NAME != $NEW_SERVER_NAME ]; then 109 # backup 110 mv $SERVER_CONF_FILE $SERVER_CONF_FILE.`date +"%Y%m%d-%k%M%S"` 111 fi 112 113 echo $NEW_SERVER_NAME > $SERVER_CONF_FILE 114 fi 115 116 117 # 100 118 # make the spool directory an set mode bits. 101 119 # … … 112 130 if [ ! -f $SPOOLDIR/mom_priv/config ] 113 131 then 114 echo -n >>$SPOOLDIR/mom_priv/config132 touch $SPOOLDIR/mom_priv/config 115 133 fi 116 134 -
trunk/torque.config
r10 r12 12 12 db_go 13 13 14 # Ask the user for server_name 15 db_input low torque/server_name || true 16 db_go 17 -
trunk/torque.templates
r10 r12 14 14 master node has to run at least pbs_server and pbs_sched (unless replaced by 15 15 Maui), whereas computation nodes usually only run pbs_mom (the Torque client) 16 17 Template: torque/server_name 18 Type: string 19 Default: localhost 20 Description: Please enter FQDN of your Torque server 21 Please enter the FQDN (with domain) of your Torque server. This is value will 22 be stored in /var/spool/torque/server_name. 23 . 24 Don't modify this file by hand, it will be overwritten anytime you upgrade 25 this package. Use "dpkg-reconfigure -p low torque" instead.
Note: See TracChangeset
for help on using the changeset viewer.