mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-11-03 21:43:26 +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 ""
|
||||
touch "$DATA_DIR/.initiated"
|
||||
else
|
||||
rm -rf /etc/supervisor/conf.d/zulip_postsetup.conf
|
||||
rm -f /etc/supervisor/conf.d/zulip_postsetup.conf
|
||||
fi
|
||||
# If there's an "update" available, then "JUST DO IT!" - Shia Labeouf
|
||||
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.save()
|
||||
EOF
|
||||
rm -rf /etc/supervisor/conf.d/zulip_postsetup.conf
|
||||
exit 0
|
||||
exit 200
|
||||
|
||||
@@ -4,3 +4,4 @@ user=zulip
|
||||
stdout_events_enabled=true
|
||||
stderr_events_enabled=true
|
||||
autorestart = false
|
||||
exitcodes = 200
|
||||
|
||||
Reference in New Issue
Block a user