Initial commit: stats-gateway gRPC service + dashboard + CLI

This commit is contained in:
2026-05-05 21:04:32 +05:00
commit 4059e94759
44 changed files with 2513 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
[Unit]
Description=stats-gateway gRPC service
After=network.target
Requires=network.target
[Service]
Type=simple
User=stats
Group=stats
ExecStart=/usr/local/bin/stats-gateway --addr 127.0.0.1:50051 --db /var/lib/stats-gateway/stats.db
Restart=on-failure
RestartSec=5s
StandardOutput=journal
StandardError=journal
# hardening
NoNewPrivileges=true
ProtectSystem=strict
ReadWritePaths=/var/lib/stats-gateway
ProtectHome=true
PrivateTmp=true
[Install]
WantedBy=multi-user.target