17 lines
307 B
Plaintext
17 lines
307 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"
|
|
Environment="LOG_TIMESTAMP=false"
|
|
ExecStart=/usr/bin/tesla-charge-controller watch
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|