Thomas Klaehn
b802b9cadb
* add systemctl service * add installation procedure Signed-off-by: Thomas Klaehn <tkl@blackfinn.de> |
||
---|---|---|
mqtt_logger | ||
.gitignore | ||
.gitlab-ci.yml | ||
.project | ||
.pydevproject | ||
mqtt_logger.service | ||
Readme.md | ||
setup.py |
mqtt data logger
Prerequisites
Depends on communication_protocols.py
(https://files.blackfinn.de/files/python/communication_protocols.py).
Installation
- extract tar file:
$ tar xvf mqtt_logger-0.1.0.tar.xz
- run install script (as super user):
$ python setup.py install
- enable
systemd
service (as superuser):
$ systemctl enable mqtt_logger.service
- start
systemd
service (as superuser):
$ systemctl start mqtt_logger.service
Service
Log file are stored at /var/log/mqtt/...