Skip to content

Instantly share code, notes, and snippets.

@XxUnkn0wnxX
Last active February 17, 2021 15:25
Show Gist options
  • Save XxUnkn0wnxX/9f260a476472b9cb43afecc30f0c2a93 to your computer and use it in GitHub Desktop.
Save XxUnkn0wnxX/9f260a476472b9cb43afecc30f0c2a93 to your computer and use it in GitHub Desktop.
SickChill LaunchAgent macOS [Runs On Boot]
<?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>
<false/>
<key>Label</key>
<string>Paths</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>-c</string>
<string>launchctl setenv PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
<?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>
<false/>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
</dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>SickChill</string>
<key>ProcessType</key>
<string>Interactive</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/python2</string>
<string>REPLACE TEXT</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
@XxUnkn0wnxX
Copy link
Author

XxUnkn0wnxX commented Jun 24, 2018

I also use http://www.soma-zone.com/LaunchControl/ to help manage custom Launch Daemons + can easily make new ones on the fly, it is some what free but not all capability's are avalable on free mode, a paid licence is required to use the full program, there maybe other free GUI apps that help to manage, edit & create Launch Daemons/Agents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment