Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if Linux service is running before trying to start or stop it #540

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

Jan200101
Copy link
Contributor

this prevents needless prompts opening up

Please tick as appropriate:

  • I have tested this code on a steam deck or on a PC
  • My changes generate no new errors/warnings
  • This is a bugfix/hotfix
  • This is a new feature

If you're wanting to update a translation or add a new one, please use the weblate page: https://weblate.werwolv.net/projects/decky/

Description

Verifies a service is active before trying to start or stop it.

@Jan200101
Copy link
Contributor Author

force pushed because of typo where services were never started if they weren't active.

@TrainDoctor TrainDoctor reopened this Sep 15, 2023
@PartyWumpus PartyWumpus merged commit 75ad98a into SteamDeckHomebrew:main Nov 11, 2023
6 checks passed
@PartyWumpus
Copy link
Member

Sorry this took so long to test (especially as it's so simple to test), but works well, thanks for the contribution.

AAGaming00 pushed a commit that referenced this pull request Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants