I’ve put in Jomo on my Mac, positioned at /Functions/Jomo.app, and I would like it to start out routinely once I log into my account. I wish to create a script to make it run as soon as I log in, with out with the ability to change this from the Settings App.
The issue is that I’ve created a launchd LaunchDaemon to execute this system. I would like this system to be executed from an administrator account (with root permissions) in order that it runs for a traditional person account. Nonetheless, the keepalive setting is inflicting it to restart each 4 seconds, which may be very annoying. I would like it to run simply as soon as once I log in and never restart repeatedly.
Right here’s the .plist file I created for launching this system with keepalive:
<?xml model="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist model="1.0">
<dict>
<key>Label</key>
<string>com.jomo.begin</string>
<key>ProgramArguments</key>
<array>
<string>/Functions/Jomo.app/Contents/MacOS/Jomo</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>WorkingDirectory</key>
<string>/Functions/Jomo.app/Contents/MacOS</string>
</dict>
</plist>
Might anybody assist me modify the keepalive settings in order that Jomo begins solely as soon as at login and stop it from restarting repeatedly?
Thanks!