repo autosufficiente: collector server/ (statusd, unit systemd, firewall, install)
Il lato server era rimasto fuori dalla repo. Ora c'e' tutto sotto server/: collector statusd.py (schema status/1), README con il contratto, regola nftables LAN+VPN, unit systemd utente con percorsi %h e install.sh per una macchina nuova.
This commit is contained in:
1 parent
24e1f3b376
commit
edc8a8b4ed
8 files changed
+502
-1
No files matched your search
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=statusd — snapshot dei parametri host (schema status/1)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=%h/.local/share/statod
|
||||
ExecStart=/usr/bin/python3 %h/.local/share/statod/statusd.py collect --out %h/.cache/statusd/status.json
|
||||
Nice=10
|
||||
IOSchedulingClass=idle
|
||||
Reference in new issue
Block a user