[HLCC-ICE-000001][ZY-CONTRIB-20260723-001] feat: 以来光者贡献链启用冰朔第五域个人子频道

This commit is contained in:
光湖代码频道 · 铸渊 2026-07-24 10:39:10 +08:00
commit 5615453e4e
660 changed files with 122355 additions and 0 deletions

View file

@ -0,0 +1,23 @@
[Unit]
Description=Guanghu state-change-only node sentinel
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
User=guanghu-sentinel
Group=guanghu-sentinel
SupplementaryGroups=guanghu
WorkingDirectory=/opt/guanghu/state-change-sentinel
EnvironmentFile=/etc/guanghu/secrets/mail/qq-authorization.env
Environment=SENTINEL_CONFIG=/etc/guanghu/state-change-sentinel.json
Environment=SENTINEL_STATE=/var/lib/guanghu/state-change-sentinel/state.json
ExecStart=/usr/bin/node /opt/guanghu/state-change-sentinel/sentinel.js
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/guanghu/state-change-sentinel
[Install]
WantedBy=multi-user.target