Skip to content

Example files to use systemd#7

Open
ON5HB wants to merge 7 commits into
phasor-labs:mainfrom
ON5HB:main
Open

Example files to use systemd#7
ON5HB wants to merge 7 commits into
phasor-labs:mainfrom
ON5HB:main

Conversation

@ON5HB
Copy link
Copy Markdown
Contributor

@ON5HB ON5HB commented Jan 9, 2026

Example files to use systemd, for autostart, start and stop...as well as watchdog.

Example files to use systemd, for autostart, start and stop...as well as watchdog.
Place the websdr.service in /usr/lib/systemd/system/

Edit it to your needs, as my parameters are probably not yours.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget systemctl daemon-reload

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need, as systemd will tell you if you need the command, probably not since it wasn't altered/installed before. If so, you get the message, or simply reboot.


#[ ! -e "$FIFO" ] && mkfifo $FIFO

./rx888_stream/rx888_stream -f ./rx888_stream/SDDC_FX3.img -s 60000000 -g 50 -m low -o - | ./novasdr-server --no-file-log
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be a good idea to run the public-facing server as a separate user:

... | sudo -u novasdr ./novasdr-server --no-file-log

If using a privileged port just do setcap 'cap_net_bind_service=+ep' /opt/novasdr/novasdr-server beforehand.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just an example as I run it in root.

@ON5HB ON5HB requested a review from pisoj January 10, 2026 16:48
@ON5HB
Copy link
Copy Markdown
Contributor Author

ON5HB commented Feb 4, 2026

Added markers and bands sample files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants