NovaSDR is uploaded to the github, it's updated Phantom at the moment. Keep this in mind.

How to start NovaSDR automatically after a Re-Boot?

Started by hb9ryz, 10 Dec 2025, 23:01

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hb9ryz

Hi All
I try to use the systemd service to start NovaSDR automatically after a Re-Boot.
But without success at the moment.

sudo nano /etc/systemd/system/novasdr.service

[Unit]
Description=novasdr server daemon
After=network.target

[Service]
Type=simple
ExecStart=/opt/NovaSDR/novasdr.sh
WorkingDirectory=/opt/NovaSDR
StandardOutput=inherit
StandardError=inherit
Restart=always
User=hb9ryz

[Install]
WantedBy=multi-user.target

/opt/NovaSDR/novasdr.sh

sudo su

/opt/NovaSDR/rx888_stream/target/release/rx888_stream -f /opt/NovaSDR/rx888_stream/SDDC_FX3.img -s 60000000 -g 90 -m low -r --pga -o - | /opt/NovaSDR>

sudo systemctl daemon-reload
sudo systemctl enable novasdr.service
sudo systemctl start novasdr.service
sudo systemctl status novasdr.service

Any ideas?

73 de HB9RYZ
Wolfgang







9a7aof

I'm not a programmer, just a happy Linux user since 1996, my first Linux came on 4 floppy disks, that's when I fell in love with Linux.  ;D

hb9ryz

Hi All
This solution from Gianni HB3XDC works great for my new NovaSDR Server on Ubuntu to start the NovaSDR server if I remotely switch of the 230V Power from the HP Mini PC.

/etc/systemd/system/phantomsdr_hf.service

[Unit]
Description=WebSDR Service
After=network.target

[Service]
Type=simple
WorkingDirectory=/opt/WebSDR_DIR/NovaSDR/build
ExecStartPre=/bin/sleep 5
ExecStart=/bin/sh -c '/opt/WebSDR_DIR/NovaSDR/rx888_stream/target/release/rx888_stream -f /opt/WebSDR_DIR/NovaSDR/rx888_stream/SDDC_FX3.img -s 60000000 -g 90 -m low -r --pga -o - | /opt/WebSDR_DIR/NovaSDR/build/spectrumserver --config /opt/WebSDR_DIR/NovaSDR/config-rx888mk2.toml'
ExecReload=/bin/kill -HUP $MAINPID
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=PhantomSDRHF
User=root
Group=root
Environment=PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/opt/WebSDR_DIR/NovaSDR/build

Restart=on-failure
RestartSec=5s

[Install]
WantedBy=multi-user.target

sudo systemctl daemon-reload
sudo systemctl enable phantomsdr_hf.service
sudo systemctl start phantomsdr_hf.service

Check the service with:
sudo systemctl status phantomsdr_hf.service

73 de HB9RYZ
Wolfgang


Powered by EzPortal