- Timestamp:
- 09/15/09 09:22:12 (15 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/init.d
r29 r31 144 144 stop_daemons 145 145 sleep 1 146 PBS_MOM_OPTS= '$PBS_MOM_RESTART_OPTS'146 PBS_MOM_OPTS="$PBS_MOM_RESTART_OPTS" 147 147 start_daemons 148 148 ;; -
trunk/postinst
r30 r31 70 70 PBS_MOM=1 71 71 PBS_MOM_OPTS=$RESULT 72 73 set_conf_options ${daemon}_restart_opts 74 PBS_MOM_RESTART_OPTS=$RESULT 75 72 76 ;; 73 77 pbs_sched) … … 161 165 if [ -x "/etc/init.d/torque" ]; then 162 166 update-rc.d torque defaults >/dev/null 163 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then 164 if [ "$1" = configure ]; then 165 invoke-rc.d torque stop || true 166 fi 167 invoke-rc.d torque start || exit 0 167 if [ -x "`which invoke-rc.d 2>/dev/null`" ] 168 then 169 if [ "$1" = configure ] 170 then 171 invoke-rc.d torque restart || true 172 else 173 invoke-rc.d torque start || exit 0 174 fi 168 175 else 169 if [ "$1" = configure ]; then 170 /etc/init.d/torque stop || true 171 fi 172 /etc/init.d/torque start || exit 0 176 if [ "$1" = configure ] 177 then 178 /etc/init.d/torque restart || true 179 else 180 /etc/init.d/torque start || exit 0 181 fi 173 182 fi 174 183 fi -
trunk/torque.config
r22 r31 24 24 done 25 25 26 # Let the user specify which option must be used when pbs_mom restart 27 db_input medium torque/pbs_mom_restart_opts || true 28 db_go -
trunk/torque.templates
r22 r31 37 37 this package. Use "dpkg-reconfigure -p medium torque" instead. 38 38 39 Template: torque/pbs_mom_restart_opts 40 Type: string 41 Description: Please enter the options to be passed to pbs_mom when it restarts 42 Please enter the commandline options when pbs_mom restarts. You can use 43 -r (delete the jobs) or -p (leave jobs running) 44 . 45 The value will be stored in /etc/default/torque. 46 . 47 Don't modify this file by hand, it will be overwritten anytime you upgrade 48 this package. Use "dpkg-reconfigure -p medium torque" instead. 49 39 50 Template: torque/pbs_sched_opts 40 51 Type: string
Note: See TracChangeset
for help on using the changeset viewer.