Added launchd script to run relay in the background every 10 minutes

This commit is contained in:
Josh Sherman 2015-01-20 21:05:00 -05:00
parent e34cc7c70e
commit 6d82ae4a8a

19
relaymyhome.plist Normal file
View file

@ -0,0 +1,19 @@
<?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>KeepAlive</key>
<true/>
<key>Label</key>
<string>relaymyhome</string>
<key>ProgramArguments</key>
<array>
<string>/Users/josh/Code/joshtronic/relaymyhome/relaymyhome</string>
<string>full</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>600</integer>
</dict>
</plist>