mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-06-16 23:14:13 +00:00
- add `orama-sni-router` binary to build process - introduce `cmd/sni-router` for TLS-level SNI routing - add documentation for stealth turn deployment architecture
39 lines
838 B
Desktop File
39 lines
838 B
Desktop File
[Unit]
|
|
Description=Orama SNI Router (TLS-level :443 → backend forwarder)
|
|
Documentation=https://github.com/DeBrosOfficial/network
|
|
After=network.target
|
|
Before=caddy.service
|
|
PartOf=orama-node.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/opt/orama
|
|
EnvironmentFile=-/opt/orama/.orama/data/sni-router.env
|
|
ExecStart=/opt/orama/bin/orama-sni-router --config sni-router.yaml
|
|
|
|
# Bind privileged ports (:80, :443) without running as root.
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
|
|
|
User=orama
|
|
Group=orama
|
|
NoNewPrivileges=yes
|
|
ProtectSystem=strict
|
|
ProtectHome=yes
|
|
PrivateTmp=yes
|
|
LimitNOFILE=65536
|
|
|
|
TimeoutStopSec=15s
|
|
KillMode=mixed
|
|
KillSignal=SIGTERM
|
|
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=orama-sni-router
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|