diff --git a/core/imageroot/var/lib/nethserver/node/update-core.d/30restart_subscription b/core/imageroot/var/lib/nethserver/node/update-core.d/30restart_subscription new file mode 100755 index 000000000..2bbb7ec29 --- /dev/null +++ b/core/imageroot/var/lib/nethserver/node/update-core.d/30restart_subscription @@ -0,0 +1,12 @@ +#!/bin/bash + +# +# Copyright (C) 2024 Nethesis S.r.l. +# SPDX-License-Identifier: GPL-3.0-or-later +# + +exec 1>&2 +set -e + +# Restart subscription long-running services, if enabled +systemctl try-restart node-monitor.service send-heartbeat.service