[HLCC-ICE-000001][ZY-CONTRIB-20260723-001] feat: 以来光者贡献链启用冰朔第五域个人子频道
This commit is contained in:
commit
5615453e4e
660 changed files with 122355 additions and 0 deletions
25
zero-point/core-channel/revive-guard/revive-guard.service
Normal file
25
zero-point/core-channel/revive-guard/revive-guard.service
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[Unit]
|
||||
Description=光湖语言系统 · 公钥守门人复活协议
|
||||
After=network.target network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/zhuyuan/revive-guard
|
||||
ExecStart=/usr/bin/python3 /opt/zhuyuan/revive-guard/revive-guard.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=append:/opt/zhuyuan/revive-guard/logs/out.log
|
||||
StandardError=append:/opt/zhuyuan/revive-guard/logs/err.log
|
||||
Environment=REVIVE_GUARD_PORT=8922
|
||||
# ⊢ QQ_SMTP_AUTH_CODE 从服务器 /etc/environment 或 systemd override 注入
|
||||
# ⊢ 不进仓库 · 不走默认值
|
||||
EnvironmentFile=-/opt/zhuyuan/revive-guard/.env
|
||||
|
||||
# 安全加固
|
||||
NoNewPrivileges=yes
|
||||
PrivateTmp=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Reference in a new issue