mirror of
https://github.com/YunoHost-Apps/homeassistant_ynh.git
synced 2024-09-03 19:26:16 +02:00
Update systemd.service
This commit is contained in:
parent
fae175c810
commit
a3ea20dbed
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,9 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
WorkingDirectory=__DATA_PATH__
|
WorkingDirectory=__DATA_PATH__
|
||||||
ExecStart=__FINALPATH__/bin/hass --config "__DATA_PATH__" --log-file "__LOG_FILE__" --verbose
|
ExecStart=__FINALPATH__/bin/hass --config "__DATA_PATH__" --log-file "__LOG_FILE__" --verbose
|
||||||
|
RestartForceExitStatus=100
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
StandardOutput=append:__LOG_FILE__
|
StandardOutput=append:__LOG_FILE__
|
||||||
StandardError=inherit
|
StandardError=inherit
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue