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