chore: 打包程序restagent变更omc
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user