mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
connman: rework debugmode service
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
46cd376423
commit
bf55fa7580
2
packages/network/connman/debug.d/connman.conf
Normal file
2
packages/network/connman/debug.d/connman.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
CONNMAN_DEBUG="--debug"
|
||||||
|
CONNMANVPN_DEBUG="--debug"
|
@ -5,7 +5,8 @@ After=syslog.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=dbus
|
Type=dbus
|
||||||
BusName=net.connman.vpn
|
BusName=net.connman.vpn
|
||||||
ExecStart=/usr/sbin/connman-vpnd -n
|
EnvironmentFile=-/run/openelec/debug/connman.conf
|
||||||
|
ExecStart=/usr/sbin/connman-vpnd -n $CONNMANVPN_DEBUG
|
||||||
StandardOutput=null
|
StandardOutput=null
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Connection service
|
Description=Connection service
|
||||||
|
After=debugconfig.service
|
||||||
Before=network.target
|
Before=network.target
|
||||||
Wants=network.target
|
Wants=network.target
|
||||||
|
|
||||||
@ -7,8 +8,9 @@ Wants=network.target
|
|||||||
Type=dbus
|
Type=dbus
|
||||||
BusName=net.connman
|
BusName=net.connman
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
EnvironmentFile=-/run/openelec/debug/connman.conf
|
||||||
ExecStartPre=/usr/lib/connman/connman-setup
|
ExecStartPre=/usr/lib/connman/connman-setup
|
||||||
ExecStart=/usr/sbin/connmand -n
|
ExecStart=/usr/sbin/connmand -nr $CONNMAN_DEBUG
|
||||||
StandardOutput=null
|
StandardOutput=null
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user