mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
launchd script for loading HA at boot and background on OS X
This commit is contained in:
parent
eb11486e76
commit
332f7621ce
39
scripts/org.home-assistant.plist
Normal file
39
scripts/org.home-assistant.plist
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
<?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>org.home-assitant</string>
|
||||||
|
|
||||||
|
<key>EnvironmentVariables</key>
|
||||||
|
<dict>
|
||||||
|
<key>PATH</key>
|
||||||
|
<string>/usr/local/bin/:/usr/bin:$PATH</string>
|
||||||
|
</dict>
|
||||||
|
|
||||||
|
<key>Program</key>
|
||||||
|
<string>%HASS_PATH%</string>
|
||||||
|
|
||||||
|
<key>AbandonProcessGroup</key>
|
||||||
|
<false/>
|
||||||
|
|
||||||
|
<key>RunAtLoad</key>
|
||||||
|
<true/>
|
||||||
|
|
||||||
|
<key>KeepAlive</key>
|
||||||
|
<dict>
|
||||||
|
<key>SuccessfulExit</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
|
||||||
|
<key>WorkingDirectory</key>
|
||||||
|
<string>%PATH%</string>
|
||||||
|
|
||||||
|
<key>StandardErrorPath</key>
|
||||||
|
<string>/Users/%USER%/Library/Logs/home-assitant.log</string>
|
||||||
|
|
||||||
|
<key>StandardOutPath</key>
|
||||||
|
<string>/Users/%USER%/Library/Logs/home-assitant.log</string>
|
||||||
|
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Loading…
x
Reference in New Issue
Block a user