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

Use launchctl load -w on macOS #298

Merged
merged 1 commit into from
Mar 3, 2023
Merged

Use launchctl load -w on macOS #298

merged 1 commit into from
Mar 3, 2023

Conversation

cole-h
Copy link
Member

@cole-h cole-h commented Mar 3, 2023

Usage: launchctl load <service-path, service-path2, ...>
        -w      If the service is disabled, it will be enabled. In previous
                versions of launchd, being disabled meant that a service was
                not loaded. Now, services are always loaded. If a service is
                disabled, launchd does not advertise its service endpoints
                (sockets, Mach ports, etc.).
Description

Attempts a simple fix for #295.

Checklist
  • Formatted with cargo fmt
  • Built with nix build
  • Ran flake checks with nix flake check
  • Added or updated relevant tests (leave unchecked if not applicable)
  • Added or updated relevant documentation (leave unchecked if not applicable)
  • Linked to related issues (leave unchecked if not applicable)
Validating with install.determinate.systems

If a maintainer has added the upload to s3 label to this PR, it will become available for installation via install.determinate.systems:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/pr/$PR_NUMBER | sh -s -- install

    Usage: launchctl load <service-path, service-path2, ...>
            -w      If the service is disabled, it will be enabled. In previous
                    versions of launchd, being disabled meant that a service was
                    not loaded. Now, services are always loaded. If a service is
                    disabled, launchd does not advertise its service endpoints
                    (sockets, Mach ports, etc.).
@cole-h cole-h added the upload to s3 The labeled PR is allowed to upload its artifacts to S3 for easy testing label Mar 3, 2023
@cole-h cole-h self-assigned this Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upload to s3 The labeled PR is allowed to upload its artifacts to S3 for easy testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants