summaryrefslogtreecommitdiffstats
path: root/system/install-service.sh.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:19:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 12:07:37 +0000
commitb485aab7e71c1625cfc27e0f92c9509f42378458 (patch)
treeae9abe108601079d1679194de237c9a435ae5b55 /system/install-service.sh.in
parentAdding upstream version 1.44.3. (diff)
downloadnetdata-b485aab7e71c1625cfc27e0f92c9509f42378458.tar.xz
netdata-b485aab7e71c1625cfc27e0f92c9509f42378458.zip
Adding upstream version 1.45.3+dfsg.upstream/1.45.3+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'system/install-service.sh.in')
-rwxr-xr-xsystem/install-service.sh.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/install-service.sh.in b/system/install-service.sh.in
index cdd1bf52f..226dca5de 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