fix(server): wait for launchd shutdown safely #7874
Closedlastobelus(GitHub profile, opens in a new tab)wants to merge 1 commit into
main fromrefs/pull/7874/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
- apps/server/src/cloud/bootService.ts line 369Resolvedby lastobelus(GitHub profile, opens in a new tab)@@ -325,12 +357,10 @@325357 ],326358 // No `launchctl disable` here: a persisted override would sabotage a327359 // later reinstall. Removing the plist is what stops the next login load.328- // A bootout that fails for a reason other than "not loaded" leaves the329- // job running until logout; the failure is in the boot-service log.330360 deactivate: [331361 {332362 step: "stopping the service",333363 command: "launchctl",334- args: ["bootout", "--wait", serviceTarget],335- optional: true,364+ args: ["bootout", serviceTarget],336365 timeout: STOP_STEP_TIMEOUT,366+ operation: "launchd-bootout",
juliusmarminge closed this
Sign in to join this conversation.
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
73b2f920-f58b-4062-94f7-403d2e26be8dYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share