Example files to use systemd#7
Open
ON5HB wants to merge 7 commits into
Open
Conversation
Example files to use systemd, for autostart, start and stop...as well as watchdog.
pisoj
suggested changes
Jan 10, 2026
| Place the websdr.service in /usr/lib/systemd/system/ | ||
|
|
||
| Edit it to your needs, as my parameters are probably not yours. | ||
|
|
Contributor
Author
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Might be a good idea to run the public-facing server as a separate user:
... | sudo -u novasdr ./novasdr-server --no-file-logIf using a privileged port just do setcap 'cap_net_bind_service=+ep' /opt/novasdr/novasdr-server beforehand.
Contributor
Author
There was a problem hiding this comment.
It's just an example as I run it in root.
Removed alias line, it failed on newer Ubuntu.
Sample markers and bands, so people see how they are used.
Contributor
Author
|
Added markers and bands sample files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Example files to use systemd, for autostart, start and stop...as well as watchdog.