Added runit scripts.

This commit is contained in:
Ciaby 2014-07-11 15:38:15 -05:00
parent ce9af69207
commit 4d2574d302
7 changed files with 43 additions and 5 deletions

View file

@ -0,0 +1,8 @@
#!/bin/sh
ulimit -c unlimited
/etc/init.d/kannel stop
sleep 5
/usr/bin/killall -9 run_kannel_box bearerbox smsbox
/etc/init.d/kannel start
exec 2>&1
exec chrt 10 /usr/bin/osmo-nitb -P -m -c /etc/osmocom/osmo-nitb.cfg -l /var/lib/osmocom/hlr.sqlite3