File: oar-node.in

package info (click to toggle)
oar 2.5.4-2
  • links: PTS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 11,064 kB
  • sloc: perl: 28,891; ruby: 5,813; sh: 5,208; ml: 3,408; sql: 3,255; cpp: 2,277; ansic: 702; makefile: 389; php: 99; exp: 23
file content (39 lines) | stat: -rw-r--r-- 884 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Fix maximum number of open files to 8192 for all jobs
#
# ulimit -n 8192

# If you want to change the default umask
#
# umask 0702
# umask 0002


# hostname used in the oar database to identify this node
#
# OAR_NODE_NAME=$(hostname -f)


# OAR server hostname
#
# OARSERVER="myserver"


# This function is called when oar-node service is started.
# You can change this to use another method to switch the node into the Alive state
#
# start_oar_node() {
#     test -n "$OARSERVER" || exit 0
#     su - oar -c "/usr/bin/ssh $OARSERVER oarnodesetting -s Alive -h $OAR_NODE_NAME"
# }


# This function is called when oar-node service is stopped.
# You can change this to use another method to switch the node into the Absent state
#
# stop_oar_node() {
#     test -n "$OARSERVER" || exit 0
#     su - oar -c "/usr/bin/ssh $OARSERVER oarnodesetting -s Absent -h $OAR_NODE_NAME"
# }