Can use cURL to request fronius production

This commit is contained in:
2024-10-18 21:18:00 +02:00
parent ec594c0e4d
commit 45029f24cc
3 changed files with 25 additions and 7 deletions

View File

@ -91,7 +91,7 @@ FRONIUS_ORIG=http://10.0.0.10
Run the following command to check if the configuration is working:
```bash
sudo -u central central_backend -c /home/central/config.yaml
sudo -u central central_backend -c /home/central/config.yaml fronius -c
```
### Create systemd unit file
@ -109,7 +109,7 @@ Type=simple
User=central
Group=central
WorkingDirectory=/home/central
ExecStart=/usr/local/bin/central_backend -c /home/central/config.yaml
ExecStart=/usr/local/bin/central_backend -c /home/central/config.yaml fronius -c
Restart=always
Environment=USER=central
HOME=/home/central