taosd.service 399 字节
Newer Older
wafwerar's avatar
wafwerar 已提交
1
[Unit]
2
Description=server service
wafwerar's avatar
wafwerar 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
ExecStart=/usr/bin/taosd
ExecStartPre=/usr/local/taos/bin/startPre.sh
TimeoutStopSec=1000000s
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
TimeoutStartSec=0
StandardOutput=null
Restart=always
StartLimitBurst=3
StartLimitInterval=60s

[Install]
WantedBy=multi-user.target