mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 21:18:13 -05:00
uid.env file
This commit is contained in:
parent
0381a48ec9
commit
6cabee56de
@ -121,6 +121,12 @@ function restart() {
|
|||||||
dockerComposeDown
|
dockerComposeDown
|
||||||
dockerComposePull
|
dockerComposePull
|
||||||
updateLetsEncrypt
|
updateLetsEncrypt
|
||||||
|
|
||||||
|
if [ $OS == "lin" ]
|
||||||
|
then
|
||||||
|
echo "LOCAL_UID=`id -u $USER`" > ../env/uid.env
|
||||||
|
fi
|
||||||
|
|
||||||
dockerComposeUp
|
dockerComposeUp
|
||||||
dockerPrune
|
dockerPrune
|
||||||
printEnvironment
|
printEnvironment
|
||||||
|
@ -164,6 +164,9 @@ SA_PASSWORD=SECRET
|
|||||||
}
|
}
|
||||||
|
|
||||||
Helpers.Exec("chmod 600 /bitwarden/env/mssql.override.env");
|
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…
x
Reference in New Issue
Block a user