Update BSC restart-on-update mechanism

This commit is contained in:
Keith Whyte 2023-01-10 23:19:45 +01:00
parent 1cb56e8c13
commit 232985753c
2 changed files with 6 additions and 3 deletions

View file

@ -14,9 +14,10 @@ if [ -a /tmp/FS-dirty -o -a /tmp/OSMO-dirty ]; then
fi
if [ -a /tmp/OSMO-dirty ] ; then
waitfor0calls
logc "NITB is tagged for restart due to Puppet update"
sv restart osmo-nitb
logc "Osmo BSC is tagged for restart due to Puppet update"
systemctl daemon-reload
systemctl restart osmo-bsc
rm /tmp/OSMO-dirty
logc "osmo-nitb restarted"
logc "osmo-bsc restarted"
fi
fi