pref: 重构打包目录和脚本

This commit is contained in:
TsMask
2024-07-10 14:25:53 +08:00
parent cfb7d506ae
commit d6227f7a4a
421 changed files with 7042 additions and 34948 deletions

View File

@@ -1,10 +0,0 @@
[Service]
Type=forking
ExecStart=/usr/local/db/bin/redis-server /usr/local/db/bin/conf/redis.conf
ExecStopPost=
PIDFile=
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,17 @@
[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