aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2016-12-02 17:33:43 -0500
committerTeddy Wing2016-12-02 17:33:43 -0500
commit83cf716ed5534dcfc26a3e0a6e8463979989772f (patch)
treeae4eca7ecced902a095b22555f9037cd0d6c0949
parent0c796e9e499db506c142b6b0e3ae6ef8b20d9ec8 (diff)
downloadLow-Battery-Yup-83cf716ed5534dcfc26a3e0a6e8463979989772f.tar.bz2
Populate launchd plist
Add the necessary keys to the launchd plist to start the daemon application with the right properties on login. Used the Tunnelblick launchd plist as a reference.
-rw-r--r--Low Battery Yup/com.teddywing.Low-Battery-Yup.StartAtLogin.plist14
1 files changed, 13 insertions, 1 deletions
diff --git a/Low Battery Yup/com.teddywing.Low-Battery-Yup.StartAtLogin.plist b/Low Battery Yup/com.teddywing.Low-Battery-Yup.StartAtLogin.plist
index 0c67376..37ece9c 100644
--- a/Low Battery Yup/com.teddywing.Low-Battery-Yup.StartAtLogin.plist
+++ b/Low Battery Yup/com.teddywing.Low-Battery-Yup.StartAtLogin.plist
@@ -1,5 +1,17 @@
<?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/>
+<dict>
+ <key>Label</key>
+ <string>com.teddywing.Low-Battery-Yup.StartAtLogin</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>/usr/bin/open</string>
+ <string>/Applications/Low Battery Yup.app/Contents/Resources/Low Battery Yup.d.app</string>
+ </array>
+ <key>LimitLoadToSessionType</key>
+ <string>Aqua</string>
+ <key>RunAtLoad</key>
+ <true/>
+</dict>
</plist>