Copy to ~/Library/LaunchAgents

This commit is contained in:
James Wood 2020-07-14 10:26:34 +10:00
parent 24169559a3
commit 68cc74a4d1
1 changed files with 27 additions and 0 deletions

27
co.j-w.CPU24LED.plist Normal file
View File

@ -0,0 +1,27 @@
<?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>co.j-w.CPU24LED</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/python3</string>
<string>/usr/local/bin/CPU24LED.py</string>
<string>/dev/tty.usbserial-144110</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<dict>
<key>Crashed</key>
<true/>
</dict>
<key>StandardErrorPath</key>
<string>/tmp/cpu24led.err</string>
<key>StandardOutPath</key>
<string>/tmp/cpu24led.out</string>
<key>ThrottleInterval</key>
<integer>30</integer>
</dict>
</plist>