Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
d547c7f607
commit
096a3e0540
69 changed files with 1650 additions and 0 deletions
18
files/serial2mqtt/serial2mqtt.service
Normal file
18
files/serial2mqtt/serial2mqtt.service
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Managed by Ansible
|
||||
|
||||
[Unit]
|
||||
Description=Read serial port and send sensors measurements to MQTT broker
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=serial2mqtt
|
||||
Group=serial2mqtt
|
||||
EnvironmentFile=-/etc/default/serial2mqtt
|
||||
ExecStart=/opt/arduino-sensors-toolkit/serial2mqtt.py $DAEMON_OPTS
|
||||
KillMode=process
|
||||
TimeoutSec=30
|
||||
Restart=no
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue