From 3449a3df36f98a6bb09d9bc233cd1c414c347545 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Mon, 18 Dec 2023 10:04:44 +0800 Subject: [PATCH] update --- conf/common/sensor_to_server.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/common/sensor_to_server.conf b/conf/common/sensor_to_server.conf index f47058f..e633819 100644 --- a/conf/common/sensor_to_server.conf +++ b/conf/common/sensor_to_server.conf @@ -5,7 +5,7 @@ user=pi ;是否随开机自启 或者reload自启动 autostart=false ;失败重启 -autorestart=false +autorestart=true ;重启次数 restart_times=3 redirect_stderr=true