mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-10 19:05:09 +00:00
Update
This commit is contained in:
parent
ee71f16347
commit
040f2760d7
@ -36,9 +36,9 @@ echo ${RELEASE} > /opt/ps5-mqtt_version.txt
|
|||||||
msg_ok "Installed PS5-MQTT"
|
msg_ok "Installed PS5-MQTT"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
mkdir -p /opt/ps5-mqtt/.config/
|
mkdir -p /opt/.config/ps5-mqtt/
|
||||||
mkdir -p /opt/ps5-mqtt/.config/playactor
|
mkdir -p /opt/.config/ps5-mqtt/playactor
|
||||||
cat <<EOF > /opt/ps5-mqtt/.config/config.json
|
cat <<EOF > /opt/.config/ps5-mqtt/config.json
|
||||||
{
|
{
|
||||||
"mqtt": {
|
"mqtt": {
|
||||||
"host": "",
|
"host": "",
|
||||||
@ -63,7 +63,7 @@ cat <<EOF > /opt/ps5-mqtt/.config/config.json
|
|||||||
|
|
||||||
"account_check_interval": 5000,
|
"account_check_interval": 5000,
|
||||||
|
|
||||||
"credentialsStoragePath": "/opt/ps5-mqtt/.config/credentials.json",
|
"credentialsStoragePath": "/opt/.config/ps5-mqtt/credentials.json",
|
||||||
"frontendPort": "8645"
|
"frontendPort": "8645"
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
@ -74,7 +74,7 @@ After=syslog.target network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/opt/ps5-mqtt/ps5-mqtt
|
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:*'"
|
Environment="DEBUG='@ha:ps5:*'"
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
},
|
},
|
||||||
"notes": [
|
"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"
|
"type": "info"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user