Browse Source

build: Correct default permissions on auto-generated settings.toml

pull/26/head
Starbeamrainbowlabs 4 years ago
parent
commit
6df03112e8
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 1
      build

1
build

@ -92,6 +92,7 @@ function task_setup { @@ -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…
Cancel
Save