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:
Matthew Treinish 2016-08-31 15:56:01 -04:00
parent 5107ff57d7
commit 9c10de6b26
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177
2 changed files with 21 additions and 10 deletions

View File

@ -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 %>

View File

@ -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