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

13 lines
256 B
Desktop File
Executable File

[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