Files
home-data-collection-tools/systemd/solar-server.service

13 lines
288 B
Desktop File

[Unit]
Description=A pistache based HTTP server serving the Solar API
Requires=network.target
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/solar-server -d /mnt/data0/log/solarpaneloutput.db -p 3001
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target