Commit ff61840e authored by spiiroin's avatar spiiroin

Force usb_moded.service to use syslog

By default usb_moded a) logs to stderr b) redirects stderr to /dev/null.

By forcing usb_moded to log via syslog we get errors and warnings to
show up in journal without enabling the debug mode.

[usb-moded] Force usb_moded.service to use syslog
Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
parent 8a6191fe
......@@ -11,7 +11,7 @@ Type=notify
TimeoutSec=15
EnvironmentFile=-/var/lib/environment/usb-moded/*.conf
EnvironmentFile=-/run/usb-moded/*.conf
ExecStart=/usr/sbin/usb_moded --systemd $USB_MODED_ARGS
ExecStart=/usr/sbin/usb_moded --systemd --force-syslog $USB_MODED_ARGS
Restart=always
[Install]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment