feat: 完善服务监控与下游重投
This commit is contained in:
@@ -4,5 +4,5 @@
|
||||
actionstart =
|
||||
actionstop =
|
||||
actioncheck =
|
||||
actionban = /opt/cmpp-platform/current/bin/cmpp-security-agent report <name> <ip>
|
||||
actionban = @CMPP_SECURITY_AGENT_BIN@ report <name> <ip>
|
||||
actionunban =
|
||||
|
||||
@@ -7,7 +7,7 @@ Type=simple
|
||||
User=root
|
||||
Group=cmpp-security
|
||||
EnvironmentFile=/etc/cmpp-platform/cmpp-platform.env
|
||||
ExecStart=/opt/cmpp-platform/current/bin/cmpp-security-agent
|
||||
ExecStart=@CMPP_SECURITY_AGENT_BIN@
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
NoNewPrivileges=true
|
||||
|
||||
Reference in New Issue
Block a user