Copy to ~/Library/LaunchAgents
This commit is contained in:
parent
24169559a3
commit
68cc74a4d1
|
@ -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>
|
Loading…
Reference in New Issue