Fix up SGSN config on nitb systems

This commit is contained in:
Monocots 2022-07-20 16:36:58 +00:00
parent 58b73ef6b8
commit 1dee5b6ea4
3 changed files with 53 additions and 50 deletions

View file

@ -74,8 +74,10 @@ PYTHONPATH=$PYTHONPATH:/var/rhizomatica/rccn
#Restart osmo-nitb every 6 hours (This wasn't working anyway. If it is needed, do something more elegant!)
# 0 */6 * * * root /usr/bin/sv restart osmo-nitb 2>&1 > /dev/null
<% if @osmo_stack != 'split' -%>
# Rebuild ACL config and restart the SGSN (stopgap pre HLR solution, we loose all PDP contexts)
# 55 2 * * * root /etc/osmocom/make_sgsn_acl_config > /etc/osmocom/osmo-sgsn.cfg ; systemctl restart osmo-sgsn
55 2 * * * root /etc/osmocom/make_sgsn_acl_config > /etc/osmocom/osmo-sgsn.cfg ; systemctl restart osmo-sgsn
<% end -%>
# It's a new day....
30 5 * * * root /home/rhizomatica/bin/check_broken.sh