[nos-bbs] RPI Raspbian Stretch Jnos autostart and restart automatically

SP2L SP2L at sp2l.ampr.org
Wed Jan 24 11:13:28 EST 2018


Jose.


Below my  presently used   startnos  script:


#!/bin/sh
#
cd /usr/local/jnos2
rm -f /jnos2/spool/mqueue/*.lck 2> /dev/null
rm -f /jnos2/spool/mail/*.lck   2> /dev/null
sleep 1
exec screen -dmS jnos ./jnos -d/jnos2 -f/usr/local/jnos2/nos.cfg -i


As you see, the only difference is that
I run JNOS in  screen  instead on ttyX.
This gives you ability to login to JNOS console
from remote site (computer).


Best regards.
Tom - SP2L




More information about the nos-bbs mailing list