Improve documentation, and improve systemd service files
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| # bmspy | ||||
|  | ||||
| bmspy is a tool to get information from a xiaoxiang-type BMS system, using some sort of serial connection. | ||||
| bmspy is a tool to get information from a [xiaoxiang-type](https://www.lithiumbatterypcb.com/product/4s-or-3s-12v-li-ion-or-lifepo4-battery-smart-bms-with-bluetooth-function-uart-and-rs485-communication-with-60a-to-120a-constant-current/?attribute_specification-selection=4S+Lifepo4+120A+with+UART+and+RS485) BMS system, using some sort of serial connection. | ||||
|  | ||||
| It can display the information as text, in JSON, or export the data continuously to a Prometheus exporter. | ||||
|  | ||||
|   | ||||
| @@ -5,6 +5,7 @@ Description=Make BMS data available for consumers | ||||
| Type=exec | ||||
| # The full path of the git repo on your system | ||||
| WorkingDirectory=/usr/local/bmspy | ||||
| ExecStartPre=/usr/bin/install -d -onobody -gdialout -m770 /run/bmspy | ||||
| ExecStart=poetry run bmspy-server | ||||
| RestartSec=5 | ||||
| Restart=on-failure | ||||
|   | ||||
		Reference in New Issue
	
	Block a user