Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Restart usb-gadget service on changes to its scripts #160

Open
mtlynch opened this issue Nov 12, 2021 · 0 comments
Open

Restart usb-gadget service on changes to its scripts #160

mtlynch opened this issue Nov 12, 2021 · 0 comments
Labels

Comments

@mtlynch
Copy link
Contributor

mtlynch commented Nov 12, 2021

We currently copy over init-usb-gadget and remove-usb-gadget, but we never restart the usb-gadget service in response to those changes.

This doesn't cause any problems now because we reboot after install or update, but it would be cleaner if the Ansible role intelligently tracked when a restart is required.

Note that we don't want to restart the usb-gadget service if a reboot is pending to load the USB gadget module because then the usb-gadget service will fail to start.

@mtlynch mtlynch added the medium label Nov 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant