Skip to content

Commit ad3c168

Browse files
Moving supervisor command to the bottom of startup.sh
1 parent f10c756 commit ad3c168

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

startup.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ echo "ff00::0 ip6-mcastprefix" >> /etc/hosts
4141
echo "ff02::1 ip6-allnodes" >> /etc/hosts
4242
echo "ff02::2 ip6-allrouters" >> /etc/hosts
4343

44-
# Runnning supervisor
45-
/usr/bin/supervisord -n
46-
4744
# Setting up drush cron to run according CRON_SCHEDULE or 15 min by default
4845
if [[ -z $CRON_SCHEDULE ]]; then
4946
CRON_SCHEDULE="*/15 * * * *"
@@ -111,3 +108,6 @@ if [[ -e /tmp/.htaccess ]]; then
111108
else
112109
echo "$TMP_HTACCESS" > /tmp/.htaccess
113110
fi
111+
112+
# Runnning supervisor
113+
/usr/bin/supervisord -n

0 commit comments

Comments
 (0)