18 lines
362 B
Desktop File
18 lines
362 B
Desktop File
[Unit]
|
|
Description=OMC Service
|
|
After=network-online.target mysql.service kvdb.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
LimitNOFILE=65535
|
|
LimitNPROC=65535
|
|
|
|
Restart=always
|
|
ExecStart=/usr/local/omc/bin/restagent -c /usr/local/omc/etc/restconf.yaml
|
|
RestartSec=2
|
|
RestartPreventExitStatus=SIGTERM SIGKILL
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|