add systemd; add dependencies
This commit is contained in:
parent
57ec4e09ad
commit
527eccd3c6
5
debian/control
vendored
5
debian/control
vendored
@ -3,10 +3,11 @@ Maintainer: Jakob Ketterl <jakob.ketterl@gmx.de>
|
||||
Section: hamradio
|
||||
Priority: optional
|
||||
Standards-Version: 4.2.0
|
||||
Build-Depends: debhelper (>= 10), dh-python, python3 (>= 3.6)
|
||||
Build-Depends: debhelper (>= 10), dh-python, python3 (>= 3.6), dh-systemd (>= 1.5)
|
||||
|
||||
Package: openwebrx
|
||||
Architecture: all
|
||||
Depends: python3 (>= 3.6), csdr (>= 0.15), netcat,
|
||||
Depends: python3 (>= 3.6), csdr (>= 0.15), netcat, owrx-connector (>= 0.1)
|
||||
Recommends: digiham (>= 0.2), dsd (>= 1.7)
|
||||
Description: multi-user web sdr
|
||||
Open source, multi-user SDR receiver with a web interface
|
1
debian/openwebrx.install
vendored
1
debian/openwebrx.install
vendored
@ -1 +1,2 @@
|
||||
config_webrx.py etc/
|
||||
systemd/openwebrx.service lib/systemd/system/
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -2,4 +2,4 @@
|
||||
export PYBUILD_NAME=openwebrx
|
||||
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
dh $@ --with python3 --buildsystem=pybuild --with systemd
|
||||
|
13
systemd/openwebrx.service
Normal file
13
systemd/openwebrx.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=OpenWebRX WebSDR receiver
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
ExecStart=/usr/bin/openwebrx
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user