保存任务终态事务与取消一致性整改基线,生产复审待完成

This commit is contained in:
xuans committed 2026-10-02 17:19:51 +08:00
1 parent 9e666be522
commit 8a8b1a5e0e
12 files changed
+464 -18

No files matched your search

+1 -1
View File
@@ -180,7 +180,7 @@ func renderUnitFile(options Options) (string, error) {
"Environment=SCERT_BOOTSTRAP_FIREWALL_MODE=external",
"Environment=SCERT_SERVER_HOST=127.0.0.1",
"KillSignal=SIGTERM",
"TimeoutStopSec=30",
"TimeoutStopSec=180",
"Restart=on-failure",
"UMask=0077",
"RuntimeDirectory=scert",
@@ -35,6 +35,7 @@ func TestRenderUnitFileIncludesExecutableConfigurationAndWorkDir(t *testing.T) {
"Type=notify",
"NotifyAccess=main",
"TimeoutStartSec=90",
"TimeoutStopSec=180",
"User=Scert",
"Group=Scert",
"WorkingDirectory=\"/opt/Scert data\"",
@@ -78,6 +79,7 @@ func TestPackagedUnitAllowsInterfaceDiscoveryWithoutCapabilities(t *testing.T) {
"Type=notify",
"NotifyAccess=main",
"TimeoutStartSec=90",
"TimeoutStopSec=180",
"CapabilityBoundingSet=",
"AmbientCapabilities=",
"NoNewPrivileges=yes",