Restructure public config and deployment

This commit is contained in:
ajp_anton
2026-05-30 19:17:27 +00:00
parent cc4e0c2c0f
commit cdf1f4e3a1
24 changed files with 710 additions and 302 deletions
+4 -4
View File
@@ -5,11 +5,11 @@ Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=%h/ha-deconz-bridge/app
EnvironmentFile=-%h/ha-deconz-bridge/config/service.env
WorkingDirectory=__INSTALL_DIR__/app
EnvironmentFile=-__INSTALL_DIR__/config/service.env
Environment=PYTHONUNBUFFERED=1
Environment=HA_DECONZ_BRIDGE_LOG_FILE=%h/ha-deconz-bridge/ha-deconz-bridge.log
ExecStart=%h/ha-deconz-bridge/.venv/bin/ha-deconz-bridge-service %h/ha-deconz-bridge/config/lights_config.py
Environment=HA_DECONZ_BRIDGE_LOG_FILE=__INSTALL_DIR__/ha-deconz-bridge.log
ExecStart=__INSTALL_DIR__/.venv/bin/ha-deconz-bridge-service __INSTALL_DIR__/config/lights_config.py
Restart=on-failure
RestartSec=2
StandardOutput=journal