usb-moded.service 532 Bytes
Newer Older
1 2
[Unit]
Description=usb-moded USB gadget controller
3
DefaultDependencies=no
4 5 6
Wants=systemd-udev-settle.service
Requires=dbus.socket
After=local-fs.target dbus.socket systemd-udev-settle.service
7
Conflicts=shutdown.target
8 9

[Service]
10 11
Type=notify
TimeoutSec=15
12
EnvironmentFile=-/var/lib/environment/usb-moded/*.conf
13
EnvironmentFile=-/run/usb-moded/*.conf
14
ExecStart=/usr/sbin/usb_moded --systemd --force-syslog $USB_MODED_ARGS $USB_MODED_HW_ADAPTATION_ARGS
15
Restart=always
16
ExecReload=/bin/kill -HUP $MAINPID
17 18

[Install]
19
WantedBy=basic.target