lxmd and rnsd service
Question
LXMF
Started by Anonymous ·
Anonymous
Hi,
can you share how your rnsd+lxmd setup looks like? I currently have both running as systemd service files, but on bootup lxmd does not boot properly for some reason. I have to stop it and then start it again so it works.
Here are my service files:
lxmd:
# /etc/systemd/system/lxmd.service
[Unit]
Description=LFXC daemon propagation node
Requires=rnsd.service
After=rnsd.service
[Service]
Type=simple
Restart=always
RestartSec=3
User=rns
ExecStart=/home/rns/.local/bin/lxmd --propagation-node --service
[Install]
WantedBy=multi-user.target
and rnsd:
# /etc/systemd/system/rnsd.service
[Unit]
Description=Reticulum Network Stack Daemon
After=multi-user.target
[Service]
# If you run Reticulum on WiFi devices,
# or other devices that need some extra
# time to initialise, you might want to
# add a short delay before Reticulum is
# started by systemd:
# ExecStartPre=/bin/sleep 10
Type=simple
Restart=always
RestartSec=3
User=rns
ExecStart=/home/rns/.local/bin/rnsd --service
[Install]
WantedBy=multi-user.target
To troubleshoot, it's worth running:
systemctl status lxmd.service
I recommend just starting NomadNet with systemd and letting it handle the rest. To start nomadnet in daemon mode, use:
nomadnet --daemon