NovaSDR Support Forum

General Category => General Discussion => Topic started by: hb9ryz on 10 Dec 2025, 23:01

Title: How to start NovaSDR automatically after a Re-Boot?
Post by: hb9ryz on 10 Dec 2025, 23:01
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






Title: Re: How to start NovaSDR automatically after a Re-Boot?
Post by: 9a7aof on 11 Dec 2025, 07:03

QuoteAny ideas?
Please,

read this:
Start the websdr via Systemd at startup or fail (https://www.phantomsdr.fun/index.php?topic=84.msg441#msg441)

and this:
Better way to start the Phantom software. (https://www.phantomsdr.fun/index.php?topic=76.msg429#msg429)

 ;)

Darko, 9a7aof
Title: Re: How to start NovaSDR automatically after a Re-Boot?
Post by: hb9ryz on 13 Dec 2025, 15:26
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