fix: rename compose.override.yml on overwrite

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
pull/248/head
Jacob Schlecht 7 months ago
parent f2c8a1dc83
commit d1b42b1cf2

1
.gitignore vendored

@ -9,3 +9,4 @@ livekit.yml.old
secrets.env
compose.override.yml
compose.override.yml.old

@ -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

@ -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:

Loading…
Cancel
Save