diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2015-01-09 15:12:14 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2015-01-09 15:12:14 +0000 |
commit | 3c7673bc00b9c0fd37ee0fa3d3c02bf2419eb326 (patch) | |
tree | 1e8c9c8f4f8de77f79441f3d8e662b73ef750bef /sysutils/condor/pkg-install | |
parent | d15287648b13d8f730943d097fe17a7eb8f910bc (diff) |
Notes
Diffstat (limited to 'sysutils/condor/pkg-install')
-rw-r--r-- | sysutils/condor/pkg-install | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sysutils/condor/pkg-install b/sysutils/condor/pkg-install index 429a3e79b185..0c256dcfe898 100644 --- a/sysutils/condor/pkg-install +++ b/sysutils/condor/pkg-install @@ -22,18 +22,19 @@ g=condor # Place condor on a large partition so it can accommodate output files from # jobs. The default /var/db/condor could result in /var filling up with # job output. -homedir=/home/condor +# Note that /home may be linked to a shared partition on a cluster built +# with sysutils/cluster-admin, which could cause collisions between +# condor daemons on compute nodes sharing this space. In this case, +# override by setting LOCAL_DIR in your condor_config file. +LOCAL_DIR=/home/condor case $2 in PRE-INSTALL) ;; POST-INSTALL) for dir in log spool config execute; do - mkdir -p $homedir/$dir + mkdir -p $LOCAL_DIR/$dir done - chown -Rh $u:$g $homedir - # Insurance in case pkg-deinstall was not executed - /bin/rm -f /var/db/condor - /bin/ln -s $homedir /var/db + chown -Rh $u:$g $LOCAL_DIR ;; esac |