X-Git-Url: http://git.rot13.org/?p=linux-usb-otg;a=blobdiff_plain;f=usb-otg.service;h=0fb0bfdb2eb7af9aba547b6cc88900da248e7f48;hp=ba9701a9f41ff40d32f4e391e7af345949b9067d;hb=6f6be72bf1a825d78a88a70da3f13b83efd35b0e;hpb=4aed510bfeb11e3abb710f067c32e3dd9411f8c6 diff --git a/usb-otg.service b/usb-otg.service index ba9701a..0fb0bfd 100644 --- a/usb-otg.service +++ b/usb-otg.service @@ -1,6 +1,7 @@ [Unit] Description=USB OTG gadgets Documentation=https://github.com/dpavlin/linux-usb-otg +After=systemd-udev-settle.service [Service] User=root @@ -8,6 +9,11 @@ Type=oneshot RemainAfterExit=yes ExecStart=/srv/linux-usb-otg/usb-composite-all.sh ExecStop=/srv/linux-usb-otg/usb-gadget-stop.sh +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=usb-otg +# where will usbdisk.img go +WorkingDirectory=/srv/linux-usb-otg [Install] -WantedBy=multi-user.target +WantedBy=basic.target