gitlab_setup()
{
    info "Starting pw_change with timeout in background"
    ( sleep 70; echo "u=User.find_by_id(1); u.password='$panelpassword'; u.password_confirmation='$panelpassword'; u.save"'!'";" | gitlab-rails console production ) &
}

app_setup()
{
    gitlab_setup
    if [ $? != 0 ]; then
        error "ERROR: Failed to setup gitlab..."
        exit 3
    fi
}
