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:
parent
0381a48ec9
commit
6cabee56de
@ -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
|
||||
|
@ -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")) { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user