mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +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]
|
||||
Type=dbus
|
||||
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
|
||||
|
||||
[Install]
|
||||
|
@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=Connection service
|
||||
After=debugconfig.service
|
||||
Before=network.target
|
||||
Wants=network.target
|
||||
|
||||
@ -7,8 +8,9 @@ Wants=network.target
|
||||
Type=dbus
|
||||
BusName=net.connman
|
||||
Restart=on-failure
|
||||
EnvironmentFile=-/run/openelec/debug/connman.conf
|
||||
ExecStartPre=/usr/lib/connman/connman-setup
|
||||
ExecStart=/usr/sbin/connmand -n
|
||||
ExecStart=/usr/sbin/connmand -nr $CONNMAN_DEBUG
|
||||
StandardOutput=null
|
||||
|
||||
[Install]
|
||||
|
Loading…
x
Reference in New Issue
Block a user