banbel.service 560 B

123456789101112131415161718
  1. [Unit]
  2. Description=SDR AM/NFM demodulator
  3. Documentation=https://github.com/charlie-foxtrot/RTLSDR-Airband/wiki
  4. Wants=network.target
  5. After=multi-user.target
  6. [Service]
  7. Type=simple
  8. Environment=XDG_RUNTIME_DIR=/run/user/1000
  9. ExecStart=/usr/local/bin/rtl_airband -fe
  10. # The program may exit only due to startup failure (eg. misconfiguration)
  11. # or due to failure of all SDR devices (eg. disconnection). In either case,
  12. # there is no point to restart it, because it would fail once again.
  13. Restart=always
  14. StartLimitBurst=0
  15. User=pm
  16. [Install]
  17. WantedBy=multi-user.target