Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Fix enclosure shutdown #2538

Merged
merged 2 commits into from
Apr 18, 2020
Merged

Conversation

forslund
Copy link
Collaborator

Description

The enclosure was not using the standard startup scheme and would not shutdown cleanly and had to be killed.

Resolves #2492.

How to test

start the enclosure and then stop it and make sure it stops rather than kills:

The following is the expected output

./stop-mycroft.sh enclosure
Stopping enclosure (11244)...stopped.

Contributor license agreement signed?

CLA [ Yes ]

Previously it would always be killed, now it exits smoothly.
- split out enclosure determination code
- Add docstrings
- Increase logging
@devops-mycroft
Copy link

Voight Kampff Integration Test Succeeded (Results)

Copy link
Member

@chrisveilleux chrisveilleux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Been silently wondering why the enclosure process always needed to be killed.

@forslund forslund merged commit caa77b3 into MycroftAI:dev Apr 18, 2020
@forslund forslund deleted the bugfix/enclosure-shutdown branch April 18, 2020 06:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Skills and Enclosure background services fail to stop and are killed...
3 participants