mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-11-21 23:31:00 +00:00
Disable update check
This commit is contained in:
parent
f7d9238818
commit
dd4bf3e639
2 changed files with 6 additions and 0 deletions
|
@ -46,6 +46,8 @@ LDAP_METHOD=plain
|
|||
SECRET_KEY_BASE=
|
||||
OTP_SECRET=
|
||||
|
||||
UPDATE_CHECK_URL=
|
||||
|
||||
# Optionally change default language
|
||||
# DEFAULT_LOCALE=de
|
||||
|
||||
|
|
4
start.sh
4
start.sh
|
@ -67,6 +67,10 @@ else
|
|||
HOME=/app/data SAFETY_ASSURED=1 bundle exec rails db:migrate
|
||||
fi
|
||||
|
||||
if ! grep -q UPDATE_CHECK_URL /app/data/env.production; then
|
||||
echo -e "\nUPDATE_CHECK_URL=" >> /app/data/env.production
|
||||
fi
|
||||
|
||||
chown -R cloudron:cloudron /tmp/mastodon /run/mastodon
|
||||
|
||||
if [[ "$(stat -c '%U' /app/data)" != "cloudron" ]]; then
|
||||
|
|
Loading…
Reference in a new issue