projects
/
linux-usb-otg
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve working directory and syslog
[linux-usb-otg]
/
usb-otg.service
diff --git
a/usb-otg.service
b/usb-otg.service
index
2f68e32
..
0fb0bfd
100644
(file)
--- a/
usb-otg.service
+++ b/
usb-otg.service
@@
-1,13
+1,19
@@
[Unit]
Description=USB OTG gadgets
[Unit]
Description=USB OTG gadgets
-Documentation=https://github.com/dpavlin/usb-otg
+Documentation=https://github.com/dpavlin/linux-usb-otg
+After=systemd-udev-settle.service
[Service]
User=root
Type=oneshot
RemainAfterExit=yes
[Service]
User=root
Type=oneshot
RemainAfterExit=yes
-ExecStart=/srv/usb-otg/usb-composite-all.sh
-ExecStop=/srv/usb-otg/usb-gadget-stop.sh
+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]
[Install]
-WantedBy=
multi-user
.target
+WantedBy=
basic
.target