require 5.004;

###############################################################################
#
# NO BATCH / Linux
#
###############################################################################

# If you are using Perl 5.004 or later, then use the FindBin lines. Otherwise
# you will need to pass the TSI installation directory on the command line
# using "-I" or modify the line below
#use lib "<install directory>";

use FindBin qw($Bin)
  ;    # determines dynamically the directory containing this script
   # and from there the module files (which are installed in the same directory)
use lib $FindBin::Bin;
use strict;

use SharedConfiguration qw(configure_common startup);
$main::tsi_props = shift || "./tsi.properties";
configure_common();

# The TSI code is split into a number of Perl modules to
# allow for easier maintenance. This file contains batch system or
# operating system specific options, while the SharedConfiguration.pm
# the common settings. You should review both files.

# BSS/OS SPECIFIC CONFIGURATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

# Condor install directory
my $condor_bin_dir = "/usr/local/condor/bin";

# Job Submit Command
$main::submit_cmd = "$condor_bin_dir/condor_submit";

# Job Control Command
$main::abort_cmd  = "$condor_bin_dir/condor_rm";
$main::cancel_cmd = "$condor_bin_dir/condor_rm";
$main::hold_cmd   = "$condor_bin_dir/condor_hold";
$main::resume_cmd = "$condor_bin_dir/condor_release";

# Queue Status Command
$main::qstat_cmd = "$condor_bin_dir/condor_q";

$main::site_sez_no_holds = 0;    # 0 => holding allowed, 1 => not allowed

# Path
$ENV{PATH} = ".:/bin/:/usr/bin/:/usr/local/bin/";

# OS
$main::my_os = "Linux";

# END OF CONFIGURATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

startup();
