Skip to content

Add disable_restart_on_failure option for services #34

Merged
jacderida merged 9 commits intochipsenkbeil:mainfrom
mickvandijke:fix-launchd-commands
Feb 21, 2025
Merged

Add disable_restart_on_failure option for services #34
jacderida merged 9 commits intochipsenkbeil:mainfrom
mickvandijke:fix-launchd-commands

Conversation

@mickvandijke
Copy link
Contributor

@mickvandijke mickvandijke commented Feb 20, 2025

By default, every service restarts on failure. This change introduces a way to disable that behavior when needed.

The OpenRC tests and the MacOS "should_support_launchd_for_system_services_running_as_specific_user" test fail in CI. But both tests are passing when testing manually. Maybe a weird CI environment bug?

@jacderida
Copy link
Collaborator

Nice work--definitely useful! Will try and get this merged tomorrow.

@mickvandijke mickvandijke force-pushed the fix-launchd-commands branch 4 times, most recently from ee6ae37 to 49d1f58 Compare February 21, 2025 13:10
Also includes the changelog entry.
@jacderida jacderida force-pushed the fix-launchd-commands branch from 3939040 to 6479303 Compare February 21, 2025 14:40
@jacderida jacderida merged commit 0294d3b into chipsenkbeil:main Feb 21, 2025
11 of 13 checks passed
xzzpig pushed a commit to EasyTier/service-manager-rs that referenced this pull request Nov 14, 2025
…ands

Add `disable_restart_on_failure` option for services
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.

2 participants