16 lines
273 B
Plaintext
16 lines
273 B
Plaintext
[Unit]
|
|
Description=Tesla Charge Controller
|
|
After=network.target
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=10s
|
|
User=tesla
|
|
Environment="RUST_LOG=error,warn"
|
|
ExecStart=/usr/bin/tesla-charge-controller watch
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|