adjust startup timing
This commit is contained in:
parent
14424ca126
commit
9f7a3528b2
@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sleep 2
|
sleep 5
|
||||||
|
|
||||||
while [[ -e /state/.starting ]]; do
|
while [[ -e /state/.starting ]]; do
|
||||||
sleep 1
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "sidekiq starting..."
|
echo "sidekiq starting..."
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
touch /state/.starting
|
touch /state/.starting
|
||||||
|
sleep 5
|
||||||
|
|
||||||
echo "mastodon-startup starting up..."
|
echo "mastodon-startup starting up..."
|
||||||
|
|
||||||
if [[ ! -d /state/envdir ]]; then
|
if [[ ! -d /state/envdir ]]; then
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sleep 2
|
sleep 5
|
||||||
|
|
||||||
while [[ -e /state/.starting ]]; do
|
while [[ -e /state/.starting ]]; do
|
||||||
sleep 1
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "streaming starting..."
|
echo "streaming starting..."
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sleep 2
|
sleep 5
|
||||||
|
|
||||||
while [[ -e /state/.starting ]]; do
|
while [[ -e /state/.starting ]]; do
|
||||||
sleep 1
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "web starting..."
|
echo "web starting..."
|
||||||
|
|
||||||
|
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/mastodon/app/public/system \
|
/mastodon/app/public/system \
|
||||||
/mastodon/app/public/assets \
|
/mastodon/app/public/assets \
|
||||||
|
Loading…
Reference in New Issue
Block a user