完善证书申请续期与安装初始化流程

This commit is contained in:
xuans committed 2026-08-27 00:31:40 +08:00
1 parent fd8d8608f5
commit 07636abe44
66 files changed
+9470 -165

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
[Unit]
Description=Scert SSL 证书管理核心服务
Documentation=file:///scert/docs/Scert服务管理说明.md
After=network-online.target
Wants=network-online.target
ConditionPathExists=/scert/conf/scert.json
[Service]
Type=simple
User=Scert
Group=Scert
WorkingDirectory=/scert
ExecStart=/scert/scert --config /scert/conf/scert.json serve
KillSignal=SIGTERM
TimeoutStopSec=30
Restart=on-failure
UMask=0077
NoNewPrivileges=yes
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full
ReadWritePaths=/ssl /scert/conf /scert/data /scert/log /scert/backups
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
[Install]
WantedBy=multi-user.target