aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorElse <else@localhost>2026-03-18 11:01:36 +0100
committerfrosty <gabriel@bwaaa.monster>2026-03-18 06:26:07 -0400
commit3b17d8a766ce93bdba1b9f19c22018c010d8a780 (patch)
tree812b02e0a010dddd5226155f2663362be33a05b7 /init
parent39184b8a7975eb141ffa2dc11ed87e90113a95c3 (diff)
downloadomnisearch-3b17d8a766ce93bdba1b9f19c22018c010d8a780.tar.gz
Add macOS build and launchd install support
Diffstat (limited to 'init')
-rw-r--r--init/launchd/omnisearch.plist.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/init/launchd/omnisearch.plist.in b/init/launchd/omnisearch.plist.in
new file mode 100644
index 0000000..f939738
--- /dev/null
+++ b/init/launchd/omnisearch.plist.in
@@ -0,0 +1,28 @@
+<?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">
+<plist version="1.0">
+<dict>
+ <key>Label</key>
+ <string>@LAUNCHD_LABEL@</string>
+
+ <key>ProgramArguments</key>
+ <array>
+ <string>@INSTALL_BIN_DIR@/omnisearch</string>
+ </array>
+
+ <key>WorkingDirectory</key>
+ <string>@DATA_DIR@</string>
+
+ <key>RunAtLoad</key>
+ <true/>
+
+ <key>KeepAlive</key>
+ <true/>
+
+ <key>StandardOutPath</key>
+ <string>@LOG_DIR@/omnisearch.log</string>
+
+ <key>StandardErrorPath</key>
+ <string>@LOG_DIR@/omnisearch.err</string>
+</dict>
+</plist>