Fix config templates
The files got mixed up in the initial commit and the systemd service file was accidently set as the config file and the config file was never added. This commit fixes the oversight.
This commit is contained in:
parent
5107ff57d7
commit
9c10de6b26
|
@ -1,11 +1,11 @@
|
|||
[Unit]
|
||||
Description=lpmqtt Daemon
|
||||
[imap]
|
||||
hostname = <%= @imap_hostname %>
|
||||
username = <%= @imap_username %>
|
||||
password = <%= @imap_password %>
|
||||
use_ssl = <%= @imap_use_ssl %>
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/lpmqtt /etc/lpmqtt.conf
|
||||
User=lpmqtt
|
||||
Group=lpmqtt
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
[mqtt]
|
||||
hostname = <%= @mqtt_hostname %>
|
||||
base_topic = <%= @topic %>
|
||||
username = <%= @mqtt_username %>
|
||||
password = <%= @mqtt_password %>
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=lpmqtt Daemon
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/lpmqtt /etc/lpmqtt.conf
|
||||
User=lpmqtt
|
||||
Group=lpmqtt
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue