diff options
Diffstat (limited to 'steuermann/hosts.ini')
-rw-r--r-- | steuermann/hosts.ini | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/steuermann/hosts.ini b/steuermann/hosts.ini index d0c5729..0f0c043 100644 --- a/steuermann/hosts.ini +++ b/steuermann/hosts.ini @@ -16,19 +16,22 @@ ; definitions common to various operating system environments [all] +hostname=no_such_machine local=[ 'sh', '-c', '%(script)s' ] maxproc=2 [linux:csh] -hostname=no_such_machine -run=[ 'ssh', '-q', '%(hostname)s', 'source .steuermann.%(hostname)s; cd %(workdir)s; hostname; %(script)s ' ] +; for CSH +; +; -q = quiet +; -x = do not forward X windows; prevents errors locking .Xauthority when lots of ssh come in at the same time +run=[ 'ssh', '-q', '-x', '%(hostname)s', ' cd %(workdir)s; set node=%(node)s; source bin/.steuermann.%(hostname)s; %(script)s; show_status $status ' ] like=all [mac:csh] like=linux:csh [windows:cmd] -hostname=no_such_machine run=[ 'python', '-m', 'steuermann.windows_comm', '%(hostname)s', '%(script)s' ] like=all @@ -56,37 +59,37 @@ like=cadeau [herbert] hostname=herbert like=linux:csh -workdir=/herbert/data1/sienkiew/steuermann +workdir=/herbert/data1/iraf/steuermann maxproc=4 [thor] hostname=thor like=linux:csh -workdir=/thor/data2/sienkiew/steuermann +workdir=/thor/data2/iraf/steuermann maxproc=4 [arzach] hostname=arzach like=linux:csh -workdir=/arzach/data1/sienkiew/steuermann +workdir=/arzach/data1/iraf/steuermann maxproc=4 [bond] hostname=bond like=mac:csh -workdir=/Users/sienkiew/work/steuermann +workdir=/Users/iraf/work/steuermann maxproc=8 [cadeau] hostname=cadeau like=mac:csh -workdir=/Users/sienkiew/work/steuermann +workdir=/Users/iraf/work/steuermann maxproc=8 [banana] hostname=banana like=mac:csh -workdir=/Users/sienkiew/work/steuermann +workdir=/Users/iraf/work/steuermann maxproc=4 ; There is a section [ALL] that is used with every machine name |