PD2LT > PACKET 15.12.17 08:31l 103 Lines 2528 Bytes #999 (0) @ WW
BID : 18703_PI8LAP
Read: GUEST
Subj: Systemd and Uronode
Path: IW8PGT<IR2UBX<DB0RES<DB0OVN<DB0GOS<ON0AR<SV1CMG<SR1BSZ<LU4ECL<PI8LAP
Sent: 171215/0723Z @:PI8LAP.#ZL.NLD.EURO #:18703 [Kortgene] $:18703_PI8LAP
From: PD2LT@PI8LAP.#ZL.NLD.EURO
To : PACKET@WW
######################################################
# These are messages posted on my website. #
# Maybe there are people that linke to read them. #
# https://packet-radio.net / pd2lt@packet-radio.net #
######################################################
It`s also possible to run uronode with Systemd.
The systemd files can be found is the source directory of uronode.
/uronode-2.8.1/systemd/
A sort list what to do.
- copy the SystemD files into /lib/systemd/system
- run: systemctl enable uronode
- run: chkconfig uronode on
- run: systemctl daemon-reload
- in /etc/xinetd.d/uronode (or node) set disable to yes
(or comment out your line in /etc/inetd.conf)
- run: systemctl restart xinetd
- reboot
The uronode.service unit file
/uronode-2.8.1/systemd/uronode.service
[Unit]
Description = URONode Server
Requires = uronode.socket
After=syslog.target network.target
[Service]
Type=oneshot
ExecStartPre=systemctl start uronode.socket
ExecStart=/usr/local/sbin/uronode
ExecStartPost=systemctl resExecStartPost=systemctl restart uronode.socket
StandardInput=socket
Sockets=uronode.socket
[Install]
Also = uronode.socket
WantedBy = multi-user.target
WantedBy = network.target
The urondo.socket unit file
/uronode-2.8.1/systemd/uronode.socket
[Unit]
Description=URONode Server Activation Socket
[Socket]
ListenStream=0.0.0.0:3694
Accept=yes
[Install]
WantedBy=sockets.target
The uronode@.service unit file
/uronode-2.8.1/systemd/uronode@.service
[Unit]
Description = URONode Server
Requires = uronode.socket
After=syslog.target network.target
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/uronode
StandardInput=socket
Sockets=uronode.socket
[Install]
Also = uronode.socket
WantedBy = multi-user.target
WantedBy = network.target
You can also start the ax25 system with Systemd.
Copy the ax25.system file /uronode2.8.1/systemd to the /lib/systemd/system directory
[Unit]
Description=ax25 service
After=network.target syslog.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/ax25 start
ExecReload=/usr/locExecReload=/usr/local/bin/ax25 restart
ExecStop =/usr/local/bin/ax25 stop
[Install]
WantedBy=multi-user.target
systemctl enable ax25.system
systemctl daemon-reload
systemctl start ax25
Thanks to Brian N1URO
######################################################
# 73 Niels pd2lt@pi8lap.#zl.nld.euro #
# https://packet-radio.net / pd2lt@packet-radio.net #
######################################################
Read previous mail | Read next mail
|