mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-21 06:22:59 +00:00
build: Correct default permissions on auto-generated settings.toml
This commit is contained in:
parent
47f9af242a
commit
6df03112e8
1 changed files with 1 additions and 0 deletions
1
build
1
build
|
@ -92,6 +92,7 @@ function task_setup {
|
|||
|
||||
echo -e "# -------[ Custom Settings File - Last updated $(date) ]-------" >"./data/settings.toml";
|
||||
echo -e '[database]\nusername = "INSERT_DATABASE_USERNAME_HERE"\npassword = "INSERT_DATABASE_PASSWORD_HERE";' >>"./data/settings.toml";
|
||||
chmod 0600 "./data/settings.toml";
|
||||
|
||||
echo -e "${HC}Don't forget to edit './data/settings.toml' to specify the database username and password${RS}";
|
||||
echo -e "";
|
||||
|
|
Loading…
Reference in a new issue