mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-11-22 07:41: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=
|
SECRET_KEY_BASE=
|
||||||
OTP_SECRET=
|
OTP_SECRET=
|
||||||
|
|
||||||
|
UPDATE_CHECK_URL=
|
||||||
|
|
||||||
# Optionally change default language
|
# Optionally change default language
|
||||||
# DEFAULT_LOCALE=de
|
# 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
|
HOME=/app/data SAFETY_ASSURED=1 bundle exec rails db:migrate
|
||||||
fi
|
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
|
chown -R cloudron:cloudron /tmp/mastodon /run/mastodon
|
||||||
|
|
||||||
if [[ "$(stat -c '%U' /app/data)" != "cloudron" ]]; then
|
if [[ "$(stat -c '%U' /app/data)" != "cloudron" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue