This repository has been archived on 2026-10-21. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
hololake-system-architecture/product-source/hololake-clean-desktop/server/enterprise-responsibility-gate/guanghu-hololake-enterprise-gate.service

22 lines
600 B
Desktop File

[Unit]
Description=Guanghu HoloLake Enterprise Responsibility Device Gate
After=network-online.target guanghu-enterprise-identity.service
[Service]
Type=simple
User=lighthouse
Group=lighthouse
EnvironmentFile=/etc/guanghu/hololake-enterprise-gate.env
ExecStart=/usr/bin/python3 /opt/guanghu-hololake-enterprise-gate/current/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-hololake-enterprise-gate
[Install]
WantedBy=multi-user.target