Skip to content

Instantly share code, notes, and snippets.

@rwoeber
Created July 22, 2011 10:53
Show Gist options
  • Select an option

  • Save rwoeber/1099243 to your computer and use it in GitHub Desktop.

Select an option

Save rwoeber/1099243 to your computer and use it in GitHub Desktop.
Mac OS X Launch Agent to start & keep iTerm alive
<?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>user.launchkeep.iterm</string>
<key>KeepAlive</key>
<true/>
<key>Program</key>
<string>/Applications/iTerm.app/Contents/MacOS/iTerm</string>
</dict>
</plist>
@piercemoore
Copy link
Copy Markdown

I know I'm coming in way after the fact here, but where am I supposed to store and launch this file? Any help would be much appreciated! :D

@MichaelDimmitt
Copy link
Copy Markdown

MichaelDimmitt commented Mar 30, 2017

Unless otherwise noted, plists should be placed in the "$HOME/Library/LaunchAgents" (where "$HOME" represents the path to your home directory, for example: /Users/sjobs/Library/LaunchAgents/

https://github.com/tjluoma/launchd-keepalive

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