/usr/share/oar/oar-server/server_prologue is in oar-server 2.5.2-4.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/bash
# $Id$
#
# This a placeholder script for OAR jobs server side prologue.
# This script is to be run on OAR server upon job start.
# This feature is activated if and only if SERVER_PROLOGUE_EXEC_FILE is set
# in OAR configuration file.
# Usage:
# Script is run under uid of oar who is sudo
# argv[1] is the jobid
# Other job information are meant to be retrieved using oarstat.
exit
|