mirror of
https://github.com/schnidrig/openhab-ansible
synced 2026-01-12 00:48:46 +01:00
upgrade to openhab 2.4; debian stretch
This commit is contained in:
@@ -1,16 +1,14 @@
|
||||
[defaults]
|
||||
hostname = 'localhost'
|
||||
port = 1883
|
||||
clientid = 'mqttwarn'
|
||||
|
||||
clientid = 'mqttwarn'
|
||||
|
||||
; logging
|
||||
logformat = '%(asctime)-15s %(levelname)-5s [%(module)s] %(message)s'
|
||||
logfile = 'mqttwarn.log'
|
||||
logfile = '/var/log/mqttwarn/mqttwarn.log'
|
||||
|
||||
; one of: CRITICAL, DEBUG, ERROR, INFO, WARN
|
||||
;loglevel = DEBUG
|
||||
loglevel = ERROR
|
||||
loglevel = INFO
|
||||
|
||||
; name the service providers you will be using.
|
||||
launch = file, log, carbon
|
||||
@@ -48,4 +46,4 @@ targets = {
|
||||
targets = carbon:openhab
|
||||
;targets = log:info, file:f01, carbon:openhab
|
||||
|
||||
# instead of logging run `mosquitto_sub -t openhab/graphite/#`
|
||||
# instead of logging run `mosquitto_sub -t /openhab/graphite/#`
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=MQTTwarn
|
||||
After=mosquitto.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
Reference in New Issue
Block a user