adjust startup timing
This commit is contained in:
parent
14424ca126
commit
9f7a3528b2
|
@ -1,8 +1,8 @@
|
|||
#!/bin/bash
|
||||
sleep 2
|
||||
sleep 5
|
||||
|
||||
while [[ -e /state/.starting ]]; do
|
||||
sleep 1
|
||||
sleep 5
|
||||
done
|
||||
|
||||
echo "sidekiq starting..."
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
touch /state/.starting
|
||||
sleep 5
|
||||
|
||||
echo "mastodon-startup starting up..."
|
||||
|
||||
if [[ ! -d /state/envdir ]]; then
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/bash
|
||||
sleep 2
|
||||
sleep 5
|
||||
|
||||
while [[ -e /state/.starting ]]; do
|
||||
sleep 1
|
||||
sleep 5
|
||||
done
|
||||
|
||||
echo "streaming starting..."
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue