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