diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2024-03-20 09:15:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 09:15:24 +0200 |
commit | 175515ce497269779d11cb236213aa18e01b862a (patch) | |
tree | 8fe777ff3ada35a4dcf9178d78251554be98c133 /system | |
parent | b2f1a09b05dac707a2e82c6f3cc28e5159ff7cf0 (diff) |
Fix issues with permissions when installing from source on macOS (#17198)
Diffstat (limited to 'system')
-rwxr-xr-x | system/install-service.sh.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/install-service.sh.in b/system/install-service.sh.in index cdd1bf52f5..226dca5dee 100755 --- a/system/install-service.sh.in +++ b/system/install-service.sh.in @@ -630,6 +630,8 @@ install_darwin_service() { exit 4 fi + launchctl unload /Library/LaunchDaemons/com.github.netdata.plist 2>/dev/null + if ! launchctl load /Library/LaunchDaemons/com.github.netdata.plist; then error "Failed to load plist file." exit 4 |