chore: 打包程序restagent变更omc

This commit is contained in:
TsMask
2024-03-19 20:20:12 +08:00
parent a4c71a4d70
commit b01bc44578
84 changed files with 308 additions and 190 deletions

View File

@@ -1,5 +1,5 @@
[Unit]
Description=OMC rest agent daemon
Description=OMC Service daemon
After=network-online.target mysql.service
[Service]
@@ -7,7 +7,7 @@ Type=simple
LimitNOFILE=65535
Restart=always
ExecStart=/usr/local/omc/bin/restagent -c /usr/local/omc/etc/restconf.yaml
ExecStart=/usr/local/omc/bin/omc -c /usr/local/omc/etc/omc.yaml
RestartSec=2
RestartPreventExitStatus=SIGTERM SIGKILL
ExecReload=/bin/kill -HUP $MAINPID