[deploy] Anywhere: the Docker image and compose file (edge and control), the Linux installer and systemd units, the Windows Server installer (Caddy mode, three services), the preview client for Fabrica, and the Windows smoke script

This commit is contained in:
2026-11-17 20:42:04 +01:00
parent 09f6b12676
commit 49c05e2523
12 changed files with 988 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
# Ianitor control: API and web UI on 127.0.0.1:7878 (deploy/linux/install.sh writes this).
[Unit]
Description=Ianitor control (API and UI on loopback)
After=network-online.target
Wants=network-online.target
[Service]
User=ianitor
Group=ianitor
Environment=IANITOR_LOG=info
ExecStart=/usr/local/bin/ianitor-control --config /etc/ianitor/control.toml
# After every stop, a crash included: a trial still loaded into Caddy goes back at once.
ExecStopPost=/usr/local/bin/ianitor-control caddy-revert --config /etc/ianitor/control.toml
Restart=on-failure
RestartSec=2
ReadWritePaths=/var/lib/ianitor
NoNewPrivileges=yes
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictNamespaces=yes
LockPersonality=yes
MemoryDenyWriteExecute=yes
SystemCallArchitectures=native
CapabilityBoundingSet=
UMask=0027
[Install]
WantedBy=multi-user.target