-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
service: launch only once #12837
service: launch only once #12837
Conversation
f28d43a
to
e86a4c5
Compare
Where did you get the documentation from? I can't find that option in https://www.launchd.info/ or https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/Introduction.html CC @carlocab |
|
Additionally, I think |
f0aad4d
to
a7c427a
Compare
Set the type of service to oneshot if launch_only_once is provided; otherwise, simple.
a7c427a
to
53d37cc
Compare
Thanks so much for your first contribution to Homebrew! Without people like you submitting PRs we couldn't run this project. You rock, @NickHackman! |
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?This change adds a MacOS launchctl configuration to services that allows providing the
LaunchOnlyOnce
boolean flag.NOTE: this is MacOS only, if there's a way to provide this for systemd that'd be awesome!
Issue: abiosoft/colima#96