adjust startup timing

This commit is contained in:
Jeffrey Paul 2019-12-09 03:55:55 -08:00
parent 14424ca126
commit 9f7a3528b2
4 changed files with 8 additions and 7 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash
sleep 2
sleep 5
while [[ -e /state/.starting ]]; do
sleep 1
sleep 5
done
echo "sidekiq starting..."

View File

@ -1,6 +1,8 @@
#!/bin/bash
touch /state/.starting
sleep 5
echo "mastodon-startup starting up..."
if [[ ! -d /state/envdir ]]; then

View File

@ -1,8 +1,8 @@
#!/bin/bash
sleep 2
sleep 5
while [[ -e /state/.starting ]]; do
sleep 1
sleep 5
done
echo "streaming starting..."

View File

@ -1,13 +1,12 @@
#!/bin/bash
sleep 2
sleep 5
while [[ -e /state/.starting ]]; do
sleep 1
sleep 5
done
echo "web starting..."
rm -rf \
/mastodon/app/public/system \
/mastodon/app/public/assets \