SDR++ Server Linux Service

Run SDR++ (SDRPlusPlus/sdrpp) server as a linux service using systemd
Authors
    # Install SDR++
    sudo apt install sdrpp
    
    # Test the server
    sdrpp -s
    
    # Create a systemd service file for SDR++
    sudo vim /etc/systemd/system/sdrpp_server.service
    

    Add the following content to sdrpp_server.service. Change User, WorkingDirectory, and port 8080 as needed.

    [Unit]
    Description=SDR++ Server
    After=network.target
    
    [Service]
    User=user
    WorkingDirectory=/home/user
    ExecStart=/usr/bin/sdrpp -s -p 8080
    Restart=on-failure
    RestartSec=5
    
    [Install]
    WantedBy=multi-user.target
    
    # Reload systemd to recognize the new service
    sudo systemctl daemon-reload
    
    # Start the SDR++ server service
    sudo systemctl start sdrpp_server
    
    # Check the status of the service
    sudo systemctl status sdrpp_server
    
    # Enable the service to start on boot
    sudo systemctl enable sdrpp_server
    

    References

    ctrl+k