mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 05:30:45 +00:00
gotosocial: Always show landing page
This commit is contained in:
parent
551fc4a133
commit
c2c8d746cd
@ -2,9 +2,6 @@
|
|||||||
##### GENERAL CONFIG ######
|
##### 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,
|
# 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.
|
# 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!
|
# DO NOT change this after your server has already run once, or you will break things!
|
||||||
|
@ -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 \
|
gosu gotosocial /bin/gotosocial --config-path /etc/gotosocial/config.yaml admin account create \
|
||||||
--username "$GOTOSOCIAL_DEFAULT_USERNAME" --password "$password" \
|
--username "$GOTOSOCIAL_DEFAULT_USERNAME" --password "$password" \
|
||||||
--email "${GOTOSOCIAL_DEFAULT_USERNAME}@${GOTOSOCIAL_ACCOUNT_DOMAIN}"
|
--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 \
|
gosu gotosocial /bin/gotosocial --config-path /etc/gotosocial/config.yaml admin account promote \
|
||||||
--username "$GOTOSOCIAL_DEFAULT_USERNAME"
|
--username "$GOTOSOCIAL_DEFAULT_USERNAME"
|
||||||
echo "Created an administrator user with username '$GOTOSOCIAL_DEFAULT_USERNAME' and password '$password'."
|
echo "Created an administrator user with username '$GOTOSOCIAL_DEFAULT_USERNAME' and password '$password'."
|
||||||
|
Loading…
Reference in New Issue
Block a user