Skip to content

Commit

Permalink
Force restart of subscription services (#762)
Browse files Browse the repository at this point in the history
The Subscription services, node-monitor and send-heartbeat must be
restarted after the core update, to execute the new version.
  • Loading branch information
DavidePrincipi authored Dec 9, 2024
1 parent d6bd3d3 commit a111467
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a111467

Please sign in to comment.