Hi everyone, wondering if I could get some help with launch daemons.
- I have an app that runs on reboot and cannot be disabled. (Feature not included in managed preferences)
- Goal is to ensure the app is kept alive when quit by an end user.
- Launch daemon was my first thought.
- Works well until reboot when two instances of the app are opened.
How can I have launchd not open the second instance of the app on reboot and only when the user quits once logged in?
<?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>Disabled</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.cloudflare.warp.lc</string>
<key>Program</key>
<string>/Applications/Cloudflare WARP.app/Contents/MacOS/Cloudflare WARP</string>
</dict>
</plist>