2023-12-25 18:05:47 +11:00
|
|
|
[Unit]
|
|
|
|
Description=Tesla Charge Controller
|
|
|
|
After=network.target
|
|
|
|
StartLimitIntervalSec=0
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
Restart=always
|
2024-01-09 11:33:11 +11:00
|
|
|
RestartSec=10s
|
2023-12-25 18:05:47 +11:00
|
|
|
User=tesla
|
2024-01-10 12:33:50 +11:00
|
|
|
Environment="RUST_LOG=error,warn"
|
2024-01-15 10:22:10 +11:00
|
|
|
Environment="LOG_TIMESTAMP=false"
|
2023-12-25 21:22:08 +11:00
|
|
|
ExecStart=/usr/bin/tesla-charge-controller watch
|
2023-12-25 18:05:47 +11:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|