enh: expand StartLimitInterval to avoid infinite reboot
This commit is contained in:
parent
6cc43f9fa3
commit
0fb42ca0fd
|
@ -15,7 +15,7 @@ TimeoutStartSec=0
|
|||
StandardOutput=null
|
||||
Restart=always
|
||||
StartLimitBurst=3
|
||||
StartLimitInterval=300s
|
||||
StartLimitInterval=900s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -553,7 +553,7 @@ function install_service_on_systemd() {
|
|||
${csudo}bash -c "echo 'StandardOutput=null' >> ${taosd_service_config}"
|
||||
${csudo}bash -c "echo 'Restart=always' >> ${taosd_service_config}"
|
||||
${csudo}bash -c "echo 'StartLimitBurst=3' >> ${taosd_service_config}"
|
||||
${csudo}bash -c "echo 'StartLimitInterval=300s' >> ${taosd_service_config}"
|
||||
${csudo}bash -c "echo 'StartLimitInterval=900s' >> ${taosd_service_config}"
|
||||
${csudo}bash -c "echo >> ${taosd_service_config}"
|
||||
${csudo}bash -c "echo '[Install]' >> ${taosd_service_config}"
|
||||
${csudo}bash -c "echo 'WantedBy=multi-user.target' >> ${taosd_service_config}"
|
||||
|
|
Loading…
Reference in New Issue