summaryrefslogtreecommitdiffstats
path: root/system/launchd
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2023-02-27 12:38:25 -0500
committerGitHub <noreply@github.com>2023-02-27 12:38:25 -0500
commit8b93deb7b0916ea5caabfb24dbc6420e01054cbe (patch)
treef08ec8b80c6752a71c39f06e50de25f7df2cd3e7 /system/launchd
parent732654d592a3d49c8f1a154a8d4bb3c475e027d9 (diff)
Reorganize system directory to better reflect what files are actually used for. (#14544)
* Move systemd-specific system files to their own directory. * Move non-systemd init scripts to individual subdirectories. * Move cron files to their own directory. * Move logrotate config to it’s own directory. * Fix typos in Makefile.am. * Fix Debian package builds. * Fixed issues reported by @andrewm4894.
Diffstat (limited to 'system/launchd')
-rw-r--r--system/launchd/netdata.plist.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/launchd/netdata.plist.in b/system/launchd/netdata.plist.in
new file mode 100644
index 0000000000..a969b31775
--- /dev/null
+++ b/system/launchd/netdata.plist.in
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!-- SPDX-License-Identifier: GPL-3.0-or-later -->
+<plist version="1.0">
+<dict>
+ <key>Label</key>
+ <string>com.github.netdata</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>@sbindir_POST@/netdata</string>
+ </array>
+ <key>RunAtLoad</key>
+ <true/>
+</dict>
+</plist>