mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
ENV_DIR
This commit is contained in:
parent
aa69b45400
commit
dad630f80f
@ -30,6 +30,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
DOCKER_DIR="$OUTPUT_DIR/docker"
|
DOCKER_DIR="$OUTPUT_DIR/docker"
|
||||||
|
ENV_DIR="$OUTPUT_DIR/env"
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
|
|
||||||
@ -124,8 +125,8 @@ function restart() {
|
|||||||
|
|
||||||
if [ $OS == "lin" ]
|
if [ $OS == "lin" ]
|
||||||
then
|
then
|
||||||
mkdir -p ../env
|
mkdir -p $ENV_DIR
|
||||||
echo "LOCAL_UID=`id -u $USER`" > ../env/uid.env
|
echo "LOCAL_UID=`id -u $USER`" > $ENV_DIR/uid.env
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dockerComposeUp
|
dockerComposeUp
|
||||||
|
Loading…
Reference in New Issue
Block a user