mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-11-06 23:13:14 +00:00
Expect exitcode 200 from zulip_postsetup script so we know everythings okay
This commit is contained in:
@@ -386,7 +386,7 @@ if [ ! -e "$DATA_DIR/.initiated" ]; then
|
|||||||
echo ""
|
echo ""
|
||||||
touch "$DATA_DIR/.initiated"
|
touch "$DATA_DIR/.initiated"
|
||||||
else
|
else
|
||||||
rm -rf /etc/supervisor/conf.d/zulip_postsetup.conf
|
rm -f /etc/supervisor/conf.d/zulip_postsetup.conf
|
||||||
fi
|
fi
|
||||||
# If there's an "update" available, then "JUST DO IT!" - Shia Labeouf
|
# If there's an "update" available, then "JUST DO IT!" - Shia Labeouf
|
||||||
if [ ! -e "$DATA_DIR/.zulip-$ZULIP_VERSION" ]; then
|
if [ ! -e "$DATA_DIR/.zulip-$ZULIP_VERSION" ]; then
|
||||||
|
|||||||
@@ -8,5 +8,4 @@ User = get_user_profile_by_email('atrost@zerbytes.net')
|
|||||||
User.set_password('$ZULIP_USER_PASS')
|
User.set_password('$ZULIP_USER_PASS')
|
||||||
User.save()
|
User.save()
|
||||||
EOF
|
EOF
|
||||||
rm -rf /etc/supervisor/conf.d/zulip_postsetup.conf
|
exit 200
|
||||||
exit 0
|
|
||||||
|
|||||||
@@ -4,3 +4,4 @@ user=zulip
|
|||||||
stdout_events_enabled=true
|
stdout_events_enabled=true
|
||||||
stderr_events_enabled=true
|
stderr_events_enabled=true
|
||||||
autorestart = false
|
autorestart = false
|
||||||
|
exitcodes = 200
|
||||||
|
|||||||
Reference in New Issue
Block a user