Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Spawn Dask TLS certifice generation as a background process
Browse files Browse the repository at this point in the history
In the future, the TLS certificate generation will only happen
when the user selects from the form that they want to work with
and HTCondor cluster. Until then, we add it as a background
process so that it does not slow down the startup of the user
session.
  • Loading branch information
etejedor committed Mar 21, 2023
1 parent 0790b69 commit 72c95b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systemuser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ then
export DASK_TLS_DIR=/srv/dask_tls
mkdir -p $DASK_TLS_DIR
chown -R $USER:$USER $DASK_TLS_DIR
sudo -u $USER sh /srv/singleuser/create_dask_certs.sh $DASK_TLS_DIR
sudo -u $USER sh /srv/singleuser/create_dask_certs.sh $DASK_TLS_DIR &
fi

# Configurations for extensions (used when deployed outside CERN)
Expand Down

0 comments on commit 72c95b0

Please sign in to comment.