feat: add standalone fleet web manager

This commit is contained in:
way
2026-09-27 22:28:03 +08:00
commit cc2320523e
10 changed files with 444 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
[Unit]
Description=PIGWay standalone Web Manager
After=network.target
[Service]
Type=simple
DynamicUser=yes
StateDirectory=pigway-web-manager
StateDirectoryMode=0700
Environment=PIGWAY_DATA=/var/lib/pigway-web-manager
Environment=PIGWAY_PORT=6001
Environment=PYTHONDONTWRITEBYTECODE=1
ExecStart=/usr/bin/python3 /usr/local/lib/pigway-web-manager/app/server.py
Restart=on-failure
RestartSec=3
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
[Install]
WantedBy=multi-user.target