SMS: Add a switch to use_kannel (or not)

If we don't use kannel, then create the runit link in /etc/service
to run the python esme.
This commit is contained in:
Wile E. Coyote 2018-11-15 15:31:40 +00:00
parent 44fff5a761
commit 7d506eb4be
7 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,4 @@
#!/bin/sh
ulimit -c unlimited
exec 2>&1
exec chrt 10 /usr/bin/osmo-nitb -C -P -m -c /etc/osmocom/osmo-nitb.cfg -l /var/lib/osmocom/hlr.sqlite3