From 040f2760d7416fb743948ca98d10d59f0e9bc6ae Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Thu, 9 Jan 2025 16:15:42 +0100 Subject: [PATCH] Update --- install/ps5-mqtt-install.sh | 10 +++++----- json/ps5-mqtt.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/install/ps5-mqtt-install.sh b/install/ps5-mqtt-install.sh index 5d563df3..54633b45 100644 --- a/install/ps5-mqtt-install.sh +++ b/install/ps5-mqtt-install.sh @@ -36,9 +36,9 @@ echo ${RELEASE} > /opt/ps5-mqtt_version.txt msg_ok "Installed PS5-MQTT" msg_info "Creating Service" -mkdir -p /opt/ps5-mqtt/.config/ -mkdir -p /opt/ps5-mqtt/.config/playactor -cat < /opt/ps5-mqtt/.config/config.json +mkdir -p /opt/.config/ps5-mqtt/ +mkdir -p /opt/.config/ps5-mqtt/playactor +cat < /opt/.config/ps5-mqtt/config.json { "mqtt": { "host": "", @@ -63,7 +63,7 @@ cat < /opt/ps5-mqtt/.config/config.json "account_check_interval": 5000, - "credentialsStoragePath": "/opt/ps5-mqtt/.config/credentials.json", + "credentialsStoragePath": "/opt/.config/ps5-mqtt/credentials.json", "frontendPort": "8645" } EOF @@ -74,7 +74,7 @@ After=syslog.target network.target [Service] WorkingDirectory=/opt/ps5-mqtt/ps5-mqtt -Environment="CONFIG_PATH=/opt/ps5-mqtt/.config/config.json" +Environment="CONFIG_PATH=/opt/.config/ps5-mqtt/config.json" Environment="DEBUG='@ha:ps5:*'" Restart=always RestartSec=5 diff --git a/json/ps5-mqtt.json b/json/ps5-mqtt.json index 614d60a9..7ffb7f5c 100644 --- a/json/ps5-mqtt.json +++ b/json/ps5-mqtt.json @@ -32,7 +32,7 @@ }, "notes": [ { - "text": "After installation, the MQTT endpoint must be configured. The configuration file is located within the LXC container at: `/opt/ps5-mqtt/.config/config.json`", + "text": "After installation, the MQTT endpoint must be configured. The configuration file is located within the LXC container at: `/opt/.config/ps5-mqtt/config.json`", "type": "info" } ]