feat(enterprise): route four domains through lighthouse

This commit is contained in:
冰朔 2026-08-16 20:27:52 +08:00
commit c058974bba
12 changed files with 707 additions and 20 deletions

View file

@ -0,0 +1,21 @@
[Unit]
Description=Guanghu Enterprise Identity and Responsibility Receipts
After=network-online.target guanghu-enterprise-lighthouse.service
[Service]
Type=simple
User=lighthouse
Group=lighthouse
EnvironmentFile=/etc/guanghu/enterprise-identity.env
ExecStart=/usr/bin/python3 /opt/guanghu-enterprise-identity/enterprise_identity_service.py
Restart=on-failure
RestartSec=2
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadOnlyPaths=/etc/guanghu/enterprise-identity-registry.json
ReadWritePaths=/var/lib/guanghu-enterprise-identity
[Install]
WantedBy=multi-user.target