gotosocial: Always show landing page

This commit is contained in:
Alex Palaistras 2022-12-06 19:56:05 +00:00
parent 551fc4a133
commit c2c8d746cd
2 changed files with 0 additions and 5 deletions

View File

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

View File

@ -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'."