projects
/
linux-usb-otg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
10eb89a
)
systemd service
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 8 Oct 2017 18:51:01 +0000
(20:51 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 8 Oct 2017 18:51:01 +0000
(20:51 +0200)
usb-otg.service
[new file with mode: 0644]
patch
|
blob
diff --git a/usb-otg.service
b/usb-otg.service
new file mode 100644
(file)
index 0000000..
2f68e32
--- /dev/null
+++ b/
usb-otg.service
@@ -0,0
+1,13
@@
+[Unit]
+Description=USB OTG gadgets
+Documentation=https://github.com/dpavlin/usb-otg
+
+[Service]
+User=root
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/srv/usb-otg/usb-composite-all.sh
+ExecStop=/srv/usb-otg/usb-gadget-stop.sh
+
+[Install]
+WantedBy=multi-user.target