From c2c8d746cd049b7ac2f75b1b856d07b0df517783 Mon Sep 17 00:00:00 2001 From: Alex Palaistras Date: Tue, 6 Dec 2022 19:56:05 +0000 Subject: [PATCH] gotosocial: Always show landing page --- service/gotosocial/container/config/config.yaml.template | 3 --- service/gotosocial/container/run-gotosocial | 2 -- 2 files changed, 5 deletions(-) diff --git a/service/gotosocial/container/config/config.yaml.template b/service/gotosocial/container/config/config.yaml.template index 92aad22..f4e403b 100644 --- a/service/gotosocial/container/config/config.yaml.template +++ b/service/gotosocial/container/config/config.yaml.template @@ -2,9 +2,6 @@ ##### GENERAL CONFIG ###### ########################### -# The user that will be shown instead of the landing page. if no user is set, the landing page will be shown. -landing-page-user: "${GOTOSOCIAL_DEFAULT_USERNAME}" - # Hostname that this server will be reachable at. Defaults to localhost for local testing, # but you should *definitely* change this when running for real, or your server won't work at all. # DO NOT change this after your server has already run once, or you will break things! diff --git a/service/gotosocial/container/run-gotosocial b/service/gotosocial/container/run-gotosocial index 5b9be33..d39a315 100755 --- a/service/gotosocial/container/run-gotosocial +++ b/service/gotosocial/container/run-gotosocial @@ -16,8 +16,6 @@ if ! test -f /var/lib/gotosocial/gotosocial.db; then gosu gotosocial /bin/gotosocial --config-path /etc/gotosocial/config.yaml admin account create \ --username "$GOTOSOCIAL_DEFAULT_USERNAME" --password "$password" \ --email "${GOTOSOCIAL_DEFAULT_USERNAME}@${GOTOSOCIAL_ACCOUNT_DOMAIN}" - gosu gotosocial /bin/gotosocial --config-path /etc/gotosocial/config.yaml admin account confirm \ - --username "$GOTOSOCIAL_DEFAULT_USERNAME" gosu gotosocial /bin/gotosocial --config-path /etc/gotosocial/config.yaml admin account promote \ --username "$GOTOSOCIAL_DEFAULT_USERNAME" echo "Created an administrator user with username '$GOTOSOCIAL_DEFAULT_USERNAME' and password '$password'."