From d1b42b1cf2fba3e05f62c7602c50ace16cacec9f Mon Sep 17 00:00:00 2001 From: Jacob Schlecht Date: Sat, 28 Feb 2026 00:52:21 -0700 Subject: [PATCH] fix: rename compose.override.yml on overwrite This commit was made without the use of generative AI. Signed-off-by: Jacob Schlecht --- .gitignore | 1 + generate_config.sh | 2 ++ secrets.env.example | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8773fdc..34a3aed 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ livekit.yml.old secrets.env compose.override.yml +compose.override.yml.old diff --git a/generate_config.sh b/generate_config.sh index c874e5e..b3dcedd 100755 --- a/generate_config.sh +++ b/generate_config.sh @@ -26,6 +26,8 @@ if test -f "Revolt.toml"; then mv Revolt.toml Revolt.toml.old echo "Renaming livekit.yml to livekit.yml.old" mv livekit.yml livekit.yml.old + echo "Renaming compose.override.yml to compose.override.yml.old" + mv compose.override.yml compose.override.yml.old else echo "Existing config found, in caution, this script will refuse to execute if you have existing config." if [ "$SECRETS_FOUND" -eq "0" ]; then diff --git a/secrets.env.example b/secrets.env.example index 262bbea..675bb2a 100644 --- a/secrets.env.example +++ b/secrets.env.example @@ -1,4 +1,5 @@ -# DO NOT EDIT THIS FILE - copy it to secrets.env then edit it as instructed. +# DO NOT EDIT secrets.env.example - copy it to secrets.env then edit it as +# instructed. # # This file is for storing secrets for your Stoat instance safely. To use the # secrets file, copy secrets.env.example to secrets.env with the command: