1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00

uid.env file

This commit is contained in:
Kyle Spearrin 2018-03-27 15:23:02 -04:00
parent 0381a48ec9
commit 6cabee56de
2 changed files with 9 additions and 0 deletions

View File

@ -121,6 +121,12 @@ function restart() {
dockerComposeDown
dockerComposePull
updateLetsEncrypt
if [ $OS == "lin" ]
then
echo "LOCAL_UID=`id -u $USER`" > ../env/uid.env
fi
dockerComposeUp
dockerPrune
printEnvironment

View File

@ -164,6 +164,9 @@ SA_PASSWORD=SECRET
}
Helpers.Exec("chmod 600 /bitwarden/env/mssql.override.env");
// Empty uid env file. Only used on Linux hosts.
using(var sw = File.CreateText("/bitwarden/env/uid.env")) { }
}
}
}