Must preface config entries with ZM_ because we strip it out later

This commit is contained in:
Isaac Connor 2021-12-29 18:23:26 -05:00
parent 034ca92937
commit 0f8684a9b9
1 changed files with 5 additions and 5 deletions

View File

@ -3816,7 +3816,7 @@ our @options = (
category => 'config', category => 'config',
}, },
{ {
name => 'MQTT_HOSTNAME', name => 'ZM_MQTT_HOSTNAME',
default => 'mqtt.zoneminder.com', default => 'mqtt.zoneminder.com',
description => 'MQTT broker hostname', description => 'MQTT broker hostname',
help => 'MQTT uses a central server to send/receive messages. This is the hostname or ip address of the server you wish to use.', help => 'MQTT uses a central server to send/receive messages. This is the hostname or ip address of the server you wish to use.',
@ -3824,7 +3824,7 @@ our @options = (
category => 'MQTT', category => 'MQTT',
}, },
{ {
name => 'MQTT_PORT', name => 'ZM_MQTT_PORT',
default => '1883', default => '1883',
description => 'MQTT broker port', description => 'MQTT broker port',
help => 'MQTT uses a central server to send/receive messages. This is the port to connect to.', help => 'MQTT uses a central server to send/receive messages. This is the port to connect to.',
@ -3832,7 +3832,7 @@ our @options = (
category => 'MQTT', category => 'MQTT',
}, },
{ {
name => 'MQTT_USERNAME', name => 'ZM_MQTT_USERNAME',
default => '', default => '',
description => 'MQTT broker username', description => 'MQTT broker username',
help => 'MQTT uses a central server to send/receive messages. This is the username to authenticate with.', help => 'MQTT uses a central server to send/receive messages. This is the username to authenticate with.',
@ -3840,7 +3840,7 @@ our @options = (
category => 'MQTT', category => 'MQTT',
}, },
{ {
name => 'MQTT_PASSWORD', name => 'ZM_MQTT_PASSWORD',
default => '', default => '',
description => 'MQTT broker password', description => 'MQTT broker password',
help => 'MQTT uses a central server to send/receive messages. This is the password to authenticate with.', help => 'MQTT uses a central server to send/receive messages. This is the password to authenticate with.',
@ -3848,7 +3848,7 @@ our @options = (
category => 'MQTT', category => 'MQTT',
}, },
{ {
name => 'MQTT_TOPIC_PREFIX', name => 'ZM_MQTT_TOPIC_PREFIX',
default => 'ZoneMinder', default => 'ZoneMinder',
description => 'MQTT topic prefix', description => 'MQTT topic prefix',
help => 'MQTT each message generated by ZoneMinder will start with this. For example /ZoneMinder/available.', help => 'MQTT each message generated by ZoneMinder will start with this. For example /ZoneMinder/available.',