services: Add mqtt-graphite
This commit is contained in:
parent
0e75ce25c5
commit
3716997783
5 changed files with 69 additions and 0 deletions
15
roles/services/templates/mqtt-graphite.service
Normal file
15
roles/services/templates/mqtt-graphite.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Managed by Ansible
|
||||
|
||||
[Unit]
|
||||
Description=MQTT to Graphite bridge
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/bin/bash /var/lib/mqtt-graphite.sh
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
DynamicUser=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue