You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
launchd: unload by service target rather than filename
Change 'bootoutFile()' helper to 'bootout()' to unload a launchd service
based on its service target identifier (e.g.
'gui/502/com.example.myservice') rather than the path to its plist file.
This use of 'bootout' is both less fragile (since it does not require a
plist file to exist to succeed) and easier to use when performing a "gentle"
removal (i.e., suppressing "service not found" errors).
Update 'Create()' and the 'launchd' tests with the updated bootout behavior.
Signed-off-by: Victoria Dye <[email protected]>
0 commit comments