Last active
February 17, 2016 14:51
-
-
Save takamii/3a75580afd5db35cf50e to your computer and use it in GitHub Desktop.
iTeleport Connectが常駐するようにプロセス落ちていたら自動起動させる。~/Library/LaunchAgentsに入れておいて、launchctl load xxx.plist(フルパス)で起動させる。plist中のKeepAliveがtrueだと常駐モードになる。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>com.takamii.iTeleportLaunchd</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Applications/iTeleport Connect.app/Contents/MacOS/iTeleport Connect</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>KeepAlive</key> | |
<true/> | |
</dict> | |
</plist> |
コメントに今気づいた。。ゴメンなさい。
フォルダに突っ込んでからコマンドラインで以下を実行です。
launchctl load com.takamii.iTeleportLaunchd.plist
plistは実際にはフルパスで記述してあげてね。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
質問です、~/Library/LaunchAgentsにcom.takamii.iTeleportLaunchd.plistを突っ込むだけでよいのですか?