From bd51e486cef3b99a09ee4a40f11f2e21bbc2bee3 Mon Sep 17 00:00:00 2001 From: "Mark A. Grondona" <mgrondona@llnl.gov> Date: Tue, 8 Nov 2011 16:22:14 -0800 Subject: [PATCH] doc: update slurm.conf(5) Mention the ability to use glob(7) patterns for Epilog and Prolog in the slurm.conf(5) man page. --- doc/man/man5/slurm.conf.5 | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/doc/man/man5/slurm.conf.5 b/doc/man/man5/slurm.conf.5 index de88b9df67c..8710b688c07 100644 --- a/doc/man/man5/slurm.conf.5 +++ b/doc/man/man5/slurm.conf.5 @@ -422,8 +422,10 @@ NOTE: If set, then a job's QOS can not be used to exceed partition limits. .TP \fBEpilog\fR Fully qualified pathname of a script to execute as user root on every -node when a user's job completes (e.g. "/usr/local/slurm/epilog"). This may -be used to purge files, disable user login, etc. +node when a user's job completes (e.g. "/usr/local/slurm/epilog"). A +glob pattern (See \fBglob\fR(7)) may also be used to run more than +one epilog script (e.g. "/etc/slurm/epilog.d/*"). The Epilog script +or scripts may be used to purge files, disable user login, etc. By default there is no epilog. See \fBProlog and Epilog Scripts\fR for more information. @@ -1123,11 +1125,13 @@ which uses process group IDs and is the default for all other systems \fBProlog\fR Fully qualified pathname of a program for the slurmd to execute whenever it is asked to run a job step from a new job allocation (e.g. -"/usr/local/slurm/prolog"). The slurmd executes the script before starting -the first job step. This may be used to purge files, enable user login, etc. -By default there is no prolog. Any configured script is expected to -complete execution quickly (in less time than \fBMessageTimeout\fR). -See \fBProlog and Epilog Scripts\fR for more information. +"/usr/local/slurm/prolog"). A glob pattern (See \fBglob\fR(7)) may +also be used to specify more than one program to run (e.g. +"/etc/slurm/prolog.d/*"). The slurmd executes the prolog before starting +the first job step. The prolog script or scripts may be used to purge files, +enable user login, etc. By default there is no prolog. Any configured script +is expected to complete execution quickly (in less time than +\fBMessageTimeout\fR). See \fBProlog and Epilog Scripts\fR for more information. .TP \fBPrologSlurmctld\fR -- GitLab