How do you change the start config file for Nginx through Homebrew? #5839
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Why do you have a service plist file with |
Beta Was this translation helpful? Give feedback.
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.