gjdwebserver-overlay/app-mobilephone/pinephone-meta/files/pinephone-usb-gadget.service

13 lines
256 B
SYSTEMD
Raw Normal View History

2021-10-03 17:58:12 +02:00
[Unit]
Description=Configure USB gadget
Before=umtp-responder.service
[Service]
Type=oneshot
ExecStart=/usr/bin/pinephone-usb-gadget.sh setup
ExecStop=/usr/bin/pinephone-usb-gadget.sh reset
RemainAfterExit=yes
[Install]
RequiredBy=umtp-responder.service