Skip to content

How do you change the start config file for Nginx through Homebrew? #5839

Discussion options

You must be logged in to vote

Perhaps the documentation/wording can be clarified here, but the --file argument expects a configuration file in plist format for macOS launchctl, not an application-specific configuration file (e.g. nginx conf file).

If you're more familiar with init systems on Linux, it's like the argument allows you to provide a custom systemd unit file or init rc script. The launch is failing because you are instead passing the nginx conf file, which launchctl does not recognize.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@DanielCoder834
Comment options

@DanielCoder834
Comment options

@alebcay
Comment options

Answer selected by DanielCoder834
@DanielCoder834
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants