hass-core/homeassistant/scripts/macos/launchd.plist
morberg b21bfe50d7 Add LC_CTYPE to environment variables in macOS (#9227)
* Add LANG to environment variables

Some componentes, e.g. tradfri, will not work properly unless LANG is an UTF-8 environment.

* Set LC_CTYPE to UTF-8
2017-09-13 21:35:25 -07:00

38 lines
892 B
Text

<?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.homeassistant</string>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin/:/usr/bin:/usr/sbin:$PATH</string>
<key>LC_CTYPE</key>
<string>UTF-8</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>StandardErrorPath</key>
<string>/Users/$USER$/Library/Logs/homeassistant.log</string>
<key>StandardOutPath</key>
<string>/Users/$USER$/Library/Logs/homeassistant.log</string>
</dict>
</plist>