mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Update init.d.markdown (#4512)
Added missing PID_DIR declaration, service install generates errors since this variable is used during install / uninstall.
This commit is contained in:
parent
48e36a290f
commit
b9be5b2790
@ -85,7 +85,8 @@ PRE_EXEC=""
|
||||
# Typically /usr/bin/hass
|
||||
HASS_BIN="hass"
|
||||
RUN_AS="USER"
|
||||
PID_FILE="/var/run/hass.pid"
|
||||
PID_DIR="/var/run"
|
||||
PID_FILE="$PID_DIR/hass.pid"
|
||||
CONFIG_DIR="/var/opt/homeassistant"
|
||||
LOG_DIR="/var/log/homeassistant"
|
||||
LOG_FILE="$LOG_DIR/home-assistant.log"
|
||||
|
Loading…
x
Reference in New Issue
Block a user