feat: add lightweight API and web console

This commit is contained in:
way
2026-09-27 10:21:12 +08:00
parent fd4e2bf0f4
commit f42ea9d4bd
9 changed files with 382 additions and 36 deletions
+17
View File
@@ -0,0 +1,17 @@
[Unit]
Description=Pigway Pi Control API and Web
After=network.target pigway-pi-control.service
Wants=network.target pigway-pi-control.service
[Service]
Type=simple
ExecStart=/usr/local/sbin/pigway-pi-control-api
Restart=always
RestartSec=2
User=root
NoNewPrivileges=true
PrivateTmp=true
ProtectHome=true
[Install]
WantedBy=multi-user.target