14 lines
300 B
SYSTEMD
14 lines
300 B
SYSTEMD
|
[Unit]
|
||
|
Description=BMS tracking via InfluxDB
|
||
|
Requires=bmspy-server.service
|
||
|
|
||
|
[Service]
|
||
|
Type=exec
|
||
|
WorkingDirectory=/usr/local/bmspy
|
||
|
ExecStart=poetry run bmspy-influxdb --url http://localhost/ --org 0987654321 --bucket bms --token XXXX
|
||
|
RestartSec=5
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=default.target
|