From 2ae8182631285369eaf63d7930eba00603094a8b Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Thu, 21 May 2020 03:13:50 +0200 Subject: [PATCH] Rebuild the SGSN acl every night --- modules/rhizo_base/templates/rhizomatica.cron.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/rhizo_base/templates/rhizomatica.cron.erb b/modules/rhizo_base/templates/rhizomatica.cron.erb index 2ea2709..c9d550e 100644 --- a/modules/rhizo_base/templates/rhizomatica.cron.erb +++ b/modules/rhizo_base/templates/rhizomatica.cron.erb @@ -74,6 +74,9 @@ 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 +# 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 + # It's a new day.... 30 5 * * * root /home/rhizomatica/bin/check_broken.sh