未验证 提交 d3fdc579 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

Hotfix/sangshuduo/td 12899 taosd taosa decouple for2.4 (#10054)

* [TD-12899]<fix>(taosAdapter): make taosd/taosAdapter service decouple

* cherry pick 089ee60d7b86c7ce316d05bc7ea1d7093f6fb49d

* cherry pick 59e7ea7683fdb00f43bb97f1d3c8d0d5381175d0

* [TD-12899]<fix>(taosAdapter): check platform

* [TD-12899]<fix>(taosAdapter): check platform

change to _branch for taosAdapter version

* cherry pick d911b47167b3f7de5c925b8f2224b47338ff600e

* [TD-12899]<fix>(taosAdapter): taosd and taosAdapter decouple

cherry pick 876f18aa4dc12f17a965b9f5dc2967fa128adcc8

* [TD-12899]<fix>(taosAdapter): taosd and taosAdapter decouple

update taosadapter.service for 2.4

* [TD-12899]<fix>(taosAdapter): taosd and taosadapter decouple

fix make_install.sh and sed_*.sh

for 2.4

* [TD-12899]<fix>: taosd taosadapter decouple

also modified for OEM
上级 5225bf74
[Unit]
Description=jh_iot server service
After=network-online.target taosadapter.service
Wants=network-online.target taosadapter.service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
......
[Unit]
Description=KingHistorian server service
After=network-online.target taosadapter.service
Wants=network-online.target taosadapter.service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
......
[Unit]
Description=Power server service
After=network-online.target taosadapter.service
Wants=network-online.target taosadapter.service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
......
[Unit]
Description=ProDB server service
After=network-online.target taosadapter.service
Wants=network-online.target taosadapter.service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
......
[Unit]
Description=TQ server service
After=network-online.target taosadapter.service
Wants=network-online.target taosadapter.service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
......
......@@ -509,8 +509,8 @@ function install_service_on_systemd() {
${csudo}bash -c "echo '[Unit]' >> ${taosd_service_config}"
${csudo}bash -c "echo 'Description=${productName} server service' >> ${taosd_service_config}"
${csudo}bash -c "echo 'After=network-online.target taosadapter.service' >> ${taosd_service_config}"
${csudo}bash -c "echo 'Wants=network-online.target taosadapter.service' >> ${taosd_service_config}"
${csudo}bash -c "echo 'After=network-online.target' >> ${taosd_service_config}"
${csudo}bash -c "echo 'Wants=network-online.target' >> ${taosd_service_config}"
${csudo}bash -c "echo >> ${taosd_service_config}"
${csudo}bash -c "echo '[Service]' >> ${taosd_service_config}"
${csudo}bash -c "echo 'Type=simple' >> ${taosd_service_config}"
......
......@@ -427,8 +427,8 @@ function install_service_on_systemd() {
${csudo}bash -c "echo '[Unit]' >> ${taosd_service_config}"
${csudo}bash -c "echo 'Description=TDengine server service' >> ${taosd_service_config}"
${csudo}bash -c "echo 'After=network-online.target taosadapter.service' >> ${taosd_service_config}"
${csudo}bash -c "echo 'Wants=network-online.target taosadapter.service' >> ${taosd_service_config}"
${csudo}bash -c "echo 'After=network-online.target' >> ${taosd_service_config}"
${csudo}bash -c "echo 'Wants=network-online.target' >> ${taosd_service_config}"
${csudo}bash -c "echo >> ${taosd_service_config}"
${csudo}bash -c "echo '[Service]' >> ${taosd_service_config}"
${csudo}bash -c "echo 'Type=simple' >> ${taosd_service_config}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册