Update BSC restart-on-update mechanism
This commit is contained in:
parent
1cb56e8c13
commit
232985753c
2 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue