Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Mar 26, 2014
1 parent 8a6191f commit ff61840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/usb-moded.service
Expand Up @@ -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]
Expand Down

0 comments on commit ff61840

Please sign in to comment.