hoonmin / influxdb-collectd-proxy

A very simple proxy between collectd and influxdb.
MIT License
72 stars 26 forks source link

systemd config file example for docs #18

Closed yanfali closed 9 years ago

yanfali commented 9 years ago

Example systemd unit file for starting proxy. Only tested on arch linux. BTW, I would love it if we could add a config file and/or env variables. Any objection to a pull request?

[Unit]
Description=Proxy that forwards collectd data to influxdb

[Service]
Type=simple
ExecStart=/usr/local/bin/influxdb-collectd-proxy --database=collectd --username=root --password=root --typesdb=/usr/share/collectd/types.db
User=collectd-proxy
Group=collectd-proxy

[Install]
RequiredBy=collectd.service
hoonmin commented 9 years ago

Oh, thank you for your suggestion! Would you give me a PR?

yanfali commented 9 years ago

Thanks for merging!