[nos-bbs] JNOS SystemD file
Brian
n1uro at n1uro.ampr.org
Sun Mar 13 19:51:34 EDT 2016
Add the following into a new file called jnos.system
in /lib/systemd/system:
[Unit]
Description = JNOS Server
After=syslog.target network.target
[Service]
Type=simple
User=root
Group=root
Restart=always
ExecStart=/jnos/startnos /dev/tty3
# set above to the path to your startnos file
[Install]
WantedBy = multi-user.target
WantedBy = network.target
next run systemctl daemon-reload
systemctl start jnos.service
systemctl enable jnos.service
This will keep your JNOS system up and running even in the event of a
crash. I've tested this on VE1CGH who's recently migrated to a Pi and
SystemD, and used my ax25.service and uronode.* files as templates.
URONode is the first node system I believe that's natively SystemD ready
along with natively IPv6 ready.
--
<rhetorical> Why is it linux users can install and operate *any* version of M$
Windoze but the same can't be said in reverse?</rhetorical>
73 de Brian - N1URO
email: (see above)
Web: http://www.n1uro.net/
Ampr1: http://n1uro.ampr.org/
Ampr2: http://nos.n1uro.ampr.org
Linux Amateur Radio Services
axMail-Fax & URONode
http://uronode.sourceforge.net
http://axmail.sourceforge.net
AmprNet coordinator for:
Connecticut, Delaware, Maine,
Maryland, Massachusetts,
New Hampshire, Pennsylvania,
Rhode Island, and Vermont.
More information about the nos-bbs
mailing list