NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
176 stars 95 forks source link

Mac Build - fixing malformed plist & Sudo issues #1005

Closed ne-bbahn closed 8 months ago

ne-bbahn commented 8 months ago

I don't really understand it that well, but I was getting I/O errors when using launchctl to load the plist and reformatting it like this fixed it.

Also Fixes Mac build Permissions issues that arose from Homebrew disallowing sudo/root while other parts of the script need sudo/root.