#!/bin/sh
#
# Restart the Portal after initial System Setup
#
# SPDX-FileCopyrightText: 2019-2025 Univention GmbH
# SPDX-License-Identifier: AGPL-3.0-only

. /usr/share/univention-lib/ucr.sh

if is_ucr_true system/setup/boot/installer; then
	# debian installer is active -> a restart of the services is not necessary
	# as the system is rebooted at the end
	exit 0
fi

# Bug #50235
service univention-portal-server restart

exit 0
