build: 打包支持rpm
This commit is contained in:
1 parent
3c186b34ae
commit
40a2b496e6
178 files changed
+201
-32
No files matched your search
Whitespace-only changes.
@@ -1,17 +0,0 @@
|
||||
[Unit]
|
||||
Description=OMC Agent Daemon
|
||||
After=network-online.target mysql.service kvdb.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
LimitNOFILE=65535
|
||||
LimitNPROC=65535
|
||||
|
||||
Restart=always
|
||||
ExecStart=/usr/local/omc/bin/omc -c /usr/local/omc/etc/omc.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=SIGTERM SIGKILL
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user