Closed liyanan-kinght closed 1 year ago
ExecStop=/usr/bin/supervisorctl $OPTIONS shutdown ExecReload=/usr/bin/supervisorctl -c /etc/supervisor/supervisord.conf $OPTIONS reload
ExecStop=/usr/bin/supervisorctl shutdown ExecReload=/usr/bin/supervisorctl -c /etc/supervisor/supervisord.conf reload
What's the difference between thse two cmd.
The Supervisor developers don't have enough bandwidth to help with installing or using Supervisor on individual systems, sorry. We use this issue tracker mainly for bugs in Supervisor itself.
Here is syslog info. The system is always off and on the supervisord.
Dec 28 13:38:17 robot avahi-daemon[3781]: Withdrawing address record for fe80::6ee2:746e:14ff:3abb on fm1-mac9. Dec 28 13:38:17 robot avahi-daemon[3781]: Leaving mDNS multicast group on interface fm1-mac9.IPv6 with address fe80::6ee2:746e:14ff:3abb. Dec 28 13:38:17 robot avahi-daemon[3781]: Interface fm1-mac9.IPv6 no longer relevant for mDNS. Dec 28 13:39:00 robot systemd[1]: Starting Clean php session files... Dec 28 13:39:00 robot systemd[1]: Started Clean php session files. Dec 28 13:39:01 robot CRON[2046]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Dec 28 13:40:56 robot systemd[1]: Stopping Supervisor process control system for UNIX... Dec 28 13:40:57 robot supervisorctl[17221]: Shut down Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,835 INFO waiting for WIFI_RSSI_UPLOADER, DELETE_HISTORY_LOG.SH, COM_WITH_SERVER.SH, UPGRADE_MANAGER, COM_WITH_ZYNQ_UDP, START_FLASK.SH, TASK_DISPATCHER, BLN_CONTROL.SH, ROBOT_STATE_MANAGER, COM_WITH_MCU, VERSION.SH, OTA_UDP_DISCOVERY, MESSAGE_PACKING, GLXX_BATTERY, SMART_DIAGNOSE, OBS_MANAGER, CAMERA_MANAGER, COM_WITH_TELECONTROL_APP, COM_WITH_ZYNQ_MONITOR to die Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,842 INFO stopped: START_FLASK.SH (terminated by SIGTERM) Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,848 INFO stopped: COM_WITH_ZYNQ_MONITOR (terminated by SIGTERM) Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,872 INFO stopped: COM_WITH_TELECONTROL_APP (terminated by SIGTERM) Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,885 INFO stopped: CAMERA_MANAGER (terminated by SIGTERM) Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,903 INFO stopped: SMART_DIAGNOSE (terminated by SIGTERM) Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,907 INFO stopped: OTA_UDP_DISCOVERY (terminated by SIGTERM) Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,914 INFO stopped: VERSION.SH (terminated by SIGTERM) Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,919 INFO stopped: BLN_CONTROL.SH (terminated by SIGTERM) Dec 28 13:40:57 robot systemd[1]: Stopped Supervisor process control system for UNIX. Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,933 INFO stopped: COM_WITH_ZYNQ_UDP (terminated by SIGTERM) Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 17121 (task_dispatcher) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,935 INFO stopped: UPGRADE_MANAGER (terminated by SIGTERM) Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,939 INFO stopped: DELETE_HISTORY_LOG.SH (terminated by SIGTERM) Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,944 INFO stopped: WIFI_RSSI_UPLOADER (terminated by SIGTERM) Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 16825 (supervisord) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 16832 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 16834 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 16833 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 16835 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 16843 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 16836 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 16837 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 16846 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 16849 (sleep) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 16853 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 16861 (n/a) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 17154 (sh) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 17153 (robot_state_man) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 17155 (memory_monitor.) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 17188 (deletehistory) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 17199 (wifi_rssi_uploa) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 17214 (com_with_server) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 17215 (systemctl) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 17297 (glxx_battery) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 17308 (com_with_zynq_u) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 17338 (message_packing) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 17264 (upgrade_manager) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 17384 (com_with_rms) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 18014 (com_with_mcu) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: supervisor.service: Found left-over process 18318 (obstacle_bjf) in control group while starting unit. Ignoring. Dec 28 13:40:57 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:40:57 robot systemd[1]: Started Supervisor process control system for UNIX. Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,970 INFO stopped: GLXX_BATTERY (terminated by SIGTERM) Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,975 INFO stopped: COM_WITH_SERVER.SH (terminated by SIGTERM) Dec 28 13:40:57 robot start_supervisor.sh[16787]: 2022-12-28 13:40:57,982 INFO stopped: OBS_MANAGER (terminated by SIGTERM) Dec 28 13:40:58 robot start_supervisor.sh[16787]: 2022-12-28 13:40:58,002 INFO stopped: ROBOT_STATE_MANAGER (terminated by SIGTERM) Dec 28 13:40:58 robot start_supervisor.sh[16787]: 2022-12-28 13:40:58,003 WARN received SIGTERM indicating exit request Dec 28 13:40:58 robot start_supervisor.sh[16787]: 2022-12-28 13:40:58,018 INFO stopped: MESSAGE_PACKING (terminated by SIGTERM) Dec 28 13:40:58 robot start_supervisor.sh[16787]: 2022-12-28 13:40:58,025 INFO stopped: TASK_DISPATCHER (terminated by SIGTERM) Dec 28 13:40:58 robot start_supervisor.sh[16787]: 2022-12-28 13:40:58,030 INFO stopped: COM_WITH_MCU (terminated by SIGTERM) Dec 28 13:41:00 robot start_supervisor.sh[17227]: 2022-12-28 13:41:00,022 CRIT Supervisor running as root (no user in config file) Dec 28 13:41:00 robot start_supervisor.sh[17227]: 2022-12-28 13:41:00,023 INFO Included extra file "/etc/supervisor/conf.d/supervisor_elephant.conf" during parsing Dec 28 13:41:00 robot start_supervisor.sh[17227]: 2022-12-28 13:41:00,072 INFO RPC interface 'supervisor' initialized Dec 28 13:41:00 robot start_supervisor.sh[17227]: 2022-12-28 13:41:00,073 INFO RPC interface 'supervisor' initialized Dec 28 13:41:00 robot start_supervisor.sh[17227]: 2022-12-28 13:41:00,073 CRIT Server 'unix_http_server' running without any HTTP authentication checking Dec 28 13:41:00 robot start_supervisor.sh[17227]: 2022-12-28 13:41:00,073 INFO supervisord started with pid 17265 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,084 INFO spawned: 'COM_WITH_MCU' with pid 17272 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,091 INFO spawned: 'TASK_DISPATCHER' with pid 17273 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,102 INFO spawned: 'MESSAGE_PACKING' with pid 17274 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,114 INFO spawned: 'ROBOT_STATE_MANAGER' with pid 17275 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,128 INFO spawned: 'OBS_MANAGER' with pid 17278 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,139 INFO spawned: 'COM_WITH_SERVER.SH' with pid 17283 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,149 INFO spawned: 'SYNCHRONIZE_TIME.SH' with pid 17288 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,158 INFO spawned: 'GLXX_BATTERY' with pid 17292 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,186 INFO spawned: 'WIFI_RSSI_UPLOADER' with pid 17300 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,199 INFO spawned: 'DELETE_HISTORY_LOG.SH' with pid 17312 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,222 INFO spawned: 'UPGRADE_MANAGER' with pid 17321 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,262 INFO spawned: 'COM_WITH_ZYNQ_UDP' with pid 17346 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,278 INFO spawned: 'BLN_CONTROL.SH' with pid 17361 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,337 INFO spawned: 'VERSION.SH' with pid 17372 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,361 INFO spawned: 'OTA_UDP_DISCOVERY' with pid 17389 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,370 INFO spawned: 'SMART_DIAGNOSE' with pid 17392 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,438 INFO spawned: 'CAMERA_MANAGER' with pid 17408 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,464 INFO spawned: 'COM_WITH_TELECONTROL_APP' with pid 17418 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,480 INFO spawned: 'COM_WITH_ZYNQ_MONITOR' with pid 17422 Dec 28 13:41:01 robot start_supervisor.sh[17227]: 2022-12-28 13:41:01,532 INFO spawned: 'START_FLASK.SH' with pid 17443 Dec 28 13:41:13 robot systemd[1]: Stopping Supervisor process control system for UNIX... Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,045 INFO waiting for WIFI_RSSI_UPLOADER, DELETE_HISTORY_LOG.SH, COM_WITH_SERVER.SH, SYNCHRONIZE_TIME.SH, UPGRADE_MANAGER, COM_WITH_ZYNQ_UDP, START_FLASK.SH, TASK_DISPATCHER, BLN_CONTROL.SH, ROBOT_STATE_MANAGER, COM_WITH_MCU, VERSION.SH, OTA_UDP_DISCOVERY, MESSAGE_PACKING, GLXX_BATTERY, SMART_DIAGNOSE, OBS_MANAGER, CAMERA_MANAGER, COM_WITH_TELECONTROL_APP, COM_WITH_ZYNQ_MONITOR to die Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,055 INFO stopped: START_FLASK.SH (terminated by SIGTERM) Dec 28 13:41:14 robot supervisorctl[18892]: Shut down Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,076 INFO stopped: COM_WITH_ZYNQ_MONITOR (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,088 INFO stopped: COM_WITH_TELECONTROL_APP (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,106 INFO stopped: CAMERA_MANAGER (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,129 INFO stopped: SMART_DIAGNOSE (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,143 INFO stopped: OTA_UDP_DISCOVERY (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,148 INFO stopped: VERSION.SH (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,156 INFO stopped: BLN_CONTROL.SH (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,179 INFO stopped: COM_WITH_ZYNQ_UDP (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,193 INFO stopped: UPGRADE_MANAGER (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,204 INFO stopped: DELETE_HISTORY_LOG.SH (terminated by SIGTERM) Dec 28 13:41:14 robot systemd[1]: Stopped Supervisor process control system for UNIX. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17283 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17288 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17292 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17265 (supervisord) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17272 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17274 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17273 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17275 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17278 (start_nodes.sh) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 18446 (ntpdate) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 18472 (memory_monitor.) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 18471 (sh) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 18880 (systemctl) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 19218 (obstacle_bjf) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17566 (synchronize_tim) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17634 (robot_state_man) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17660 (wifi_rssi_uploa) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 18047 (com_with_rms) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17677 (com_with_server) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17679 (task_dispatcher) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17714 (message_packing) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17718 (upgrade_manager) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 17740 (glxx_battery) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 18406 (topic_monitor) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 18384 (timeout) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 18392 (com_with_mcu) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: supervisor.service: Found left-over process 18389 (python2.7) in control group while starting unit. Ignoring. Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,237 INFO stopped: WIFI_RSSI_UPLOADER (terminated by SIGTERM) Dec 28 13:41:14 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:14 robot systemd[1]: Started Supervisor process control system for UNIX. Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,262 INFO stopped: GLXX_BATTERY (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,281 INFO stopped: SYNCHRONIZE_TIME.SH (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,288 INFO stopped: COM_WITH_SERVER.SH (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,292 INFO stopped: OBS_MANAGER (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,304 INFO stopped: ROBOT_STATE_MANAGER (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,305 WARN received SIGTERM indicating exit request Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,321 INFO stopped: MESSAGE_PACKING (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,345 INFO stopped: TASK_DISPATCHER (terminated by SIGTERM) Dec 28 13:41:14 robot start_supervisor.sh[17227]: 2022-12-28 13:41:14,370 INFO stopped: COM_WITH_MCU (terminated by SIGTERM) Dec 28 13:41:16 robot start_supervisor.sh[19238]: 2022-12-28 13:41:16,313 CRIT Supervisor running as root (no user in config file) Dec 28 13:41:16 robot start_supervisor.sh[19238]: 2022-12-28 13:41:16,314 INFO Included extra file "/etc/supervisor/conf.d/supervisor_elephant.conf" during parsing Dec 28 13:41:16 robot start_supervisor.sh[19238]: 2022-12-28 13:41:16,345 INFO RPC interface 'supervisor' initialized Dec 28 13:41:16 robot start_supervisor.sh[19238]: 2022-12-28 13:41:16,346 INFO RPC interface 'supervisor' initialized Dec 28 13:41:16 robot start_supervisor.sh[19238]: 2022-12-28 13:41:16,346 CRIT Server 'unix_http_server' running without any HTTP authentication checking Dec 28 13:41:16 robot start_supervisor.sh[19238]: 2022-12-28 13:41:16,347 INFO supervisord started with pid 19272 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,357 INFO spawned: 'COM_WITH_MCU' with pid 19283 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,364 INFO spawned: 'TASK_DISPATCHER' with pid 19284 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,370 INFO spawned: 'MESSAGE_PACKING' with pid 19285 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,378 INFO spawned: 'ROBOT_STATE_MANAGER' with pid 19286 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,385 INFO spawned: 'OBS_MANAGER' with pid 19287 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,392 INFO spawned: 'COM_WITH_SERVER.SH' with pid 19288 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,408 INFO spawned: 'SYNCHRONIZE_TIME.SH' with pid 19293 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,426 INFO spawned: 'GLXX_BATTERY' with pid 19297 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,437 INFO spawned: 'WIFI_RSSI_UPLOADER' with pid 19306 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,452 INFO spawned: 'DELETE_HISTORY_LOG.SH' with pid 19309 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,474 INFO spawned: 'UPGRADE_MANAGER' with pid 19318 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,502 INFO spawned: 'COM_WITH_ZYNQ_UDP' with pid 19335 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,514 INFO spawned: 'BLN_CONTROL.SH' with pid 19338 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,529 INFO spawned: 'VERSION.SH' with pid 19347 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,598 INFO spawned: 'OTA_UDP_DISCOVERY' with pid 19380 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,608 INFO spawned: 'SMART_DIAGNOSE' with pid 19388 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,656 INFO spawned: 'CAMERA_MANAGER' with pid 19404 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,742 INFO spawned: 'COM_WITH_TELECONTROL_APP' with pid 19445 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,838 INFO spawned: 'COM_WITH_ZYNQ_MONITOR' with pid 19483 Dec 28 13:41:17 robot start_supervisor.sh[19238]: 2022-12-28 13:41:17,893 INFO spawned: 'START_FLASK.SH' with pid 19493 Dec 28 13:41:29 robot systemd[1]: Stopping Supervisor process control system for UNIX... Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,224 INFO waiting for WIFI_RSSI_UPLOADER, DELETE_HISTORY_LOG.SH, COM_WITH_SERVER.SH, SYNCHRONIZE_TIME.SH, UPGRADE_MANAGER, COM_WITH_ZYNQ_UDP, START_FLASK.SH, TASK_DISPATCHER, BLN_CONTROL.SH, ROBOT_STATE_MANAGER, COM_WITH_MCU, VERSION.SH, OTA_UDP_DISCOVERY, MESSAGE_PACKING, GLXX_BATTERY, SMART_DIAGNOSE, OBS_MANAGER, CAMERA_MANAGER, COM_WITH_TELECONTROL_APP, COM_WITH_ZYNQ_MONITOR to die Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,229 INFO stopped: START_FLASK.SH (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,234 INFO stopped: COM_WITH_ZYNQ_MONITOR (terminated by SIGTERM) Dec 28 13:41:31 robot supervisorctl[21112]: Shut down Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,240 INFO stopped: COM_WITH_TELECONTROL_APP (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,251 INFO stopped: CAMERA_MANAGER (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,263 INFO stopped: SMART_DIAGNOSE (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,272 INFO stopped: OTA_UDP_DISCOVERY (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,276 INFO stopped: VERSION.SH (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,293 INFO stopped: BLN_CONTROL.SH (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,305 INFO stopped: COM_WITH_ZYNQ_UDP (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,310 INFO stopped: UPGRADE_MANAGER (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,317 INFO stopped: DELETE_HISTORY_LOG.SH (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,339 INFO stopped: WIFI_RSSI_UPLOADER (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,356 INFO stopped: GLXX_BATTERY (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,359 INFO stopped: SYNCHRONIZE_TIME.SH (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,363 INFO stopped: COM_WITH_SERVER.SH (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,369 INFO stopped: OBS_MANAGER (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,373 INFO stopped: ROBOT_STATE_MANAGER (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,377 INFO stopped: MESSAGE_PACKING (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,382 INFO stopped: TASK_DISPATCHER (terminated by SIGTERM) Dec 28 13:41:31 robot start_supervisor.sh[19238]: 2022-12-28 13:41:31,393 INFO stopped: COM_WITH_MCU (terminated by SIGTERM) Dec 28 13:41:31 robot systemd[1]: Stopped Supervisor process control system for UNIX. Dec 28 13:41:31 robot systemd[1]: supervisor.service: Found left-over process 19272 (supervisord) in control group while starting unit. Ignoring. Dec 28 13:41:31 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:31 robot systemd[1]: supervisor.service: Found left-over process 20481 (timeout) in control group while starting unit. Ignoring. Dec 28 13:41:31 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:31 robot systemd[1]: supervisor.service: Found left-over process 20483 (python2.7) in control group while starting unit. Ignoring. Dec 28 13:41:31 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:31 robot systemd[1]: supervisor.service: Found left-over process 20509 (topic_monitor) in control group while starting unit. Ignoring. Dec 28 13:41:31 robot systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies. Dec 28 13:41:31 robot systemd[1]: Started Supervisor process control system for UNIX. Dec 28 13:41:33 robot start_supervisor.sh[21439]: 2022-12-28 13:41:33,447 CRIT Supervisor running as root (no user in config file) Dec 28 13:41:33 robot start_supervisor.sh[21439]: 2022-12-28 13:41:33,447 INFO Included extra file "/etc/supervisor/conf.d/supervisor_elephant.conf" during parsing Dec 28 13:41:33 robot start_supervisor.sh[21439]: 2022-12-28 13:41:33,478 INFO RPC interface 'supervisor' initialized Dec 28 13:41:33 robot start_supervisor.sh[21439]: 2022-12-28 13:41:33,479 INFO RPC interface 'supervisor' initialized Dec 28 13:41:33 robot start_supervisor.sh[21439]: 2022-12-28 13:41:33,479 CRIT Server 'unix_http_server' running without any HTTP authentication checking Dec 28 13:41:33 robot start_supervisor.sh[21439]: 2022-12-28 13:41:33,479 INFO supervisord started with pid 21476 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,494 INFO spawned: 'COM_WITH_MCU' with pid 21483 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,501 INFO spawned: 'TASK_DISPATCHER' with pid 21484 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,516 INFO spawned: 'MESSAGE_PACKING' with pid 21485 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,531 INFO spawned: 'ROBOT_STATE_MANAGER' with pid 21487 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,558 INFO spawned: 'OBS_MANAGER' with pid 21490 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,568 INFO spawned: 'COM_WITH_SERVER.SH' with pid 21492 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,607 INFO spawned: 'SYNCHRONIZE_TIME.SH' with pid 21505 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,618 INFO spawned: 'GLXX_BATTERY' with pid 21512 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,638 INFO spawned: 'WIFI_RSSI_UPLOADER' with pid 21518 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,703 INFO spawned: 'DELETE_HISTORY_LOG.SH' with pid 21543 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,725 INFO spawned: 'UPGRADE_MANAGER' with pid 21554 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,795 INFO spawned: 'COM_WITH_ZYNQ_UDP' with pid 21577 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,839 INFO spawned: 'BLN_CONTROL.SH' with pid 21592 Dec 28 13:41:34 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,915 INFO spawned: 'VERSION.SH' with pid 21635 Dec 28 13:41:35 robot start_supervisor.sh[21439]: 2022-12-28 13:41:34,992 INFO spawned: 'OTA_UDP_DISCOVERY' with pid 21657 Dec 28 13:41:35 robot start_supervisor.sh[21439]: 2022-12-28 13:41:35,055 INFO spawned: 'SMART_DIAGNOSE' with pid 21696 Dec 28 13:41:35 robot start_supervisor.sh[21439]: 2022-12-28 13:41:35,111 INFO spawned: 'CAMERA_MANAGER' with pid 21716 Dec 28 13:41:35 robot start_supervisor.sh[21439]: 2022-12-28 13:41:35,171 INFO spawned: 'COM_WITH_TELECONTROL_APP' with pid 21738 Dec 28 13:41:35 robot start_supervisor.sh[21439]: 2022-12-28 13:41:35,284 INFO spawned: 'COM_WITH_ZYNQ_MONITOR' with pid 21774 Dec 28 13:41:35 robot start_supervisor.sh[21439]: 2022-12-28 13:41:35,316 INFO spawned: 'START_FLASK.SH' with pid 21792 Dec 28 13:41:49 robot systemd[1]: Stopping Supervisor process control system for UNIX... Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,562 INFO success: COM_WITH_MCU entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,567 INFO success: TASK_DISPATCHER entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,569 INFO success: MESSAGE_PACKING entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,574 INFO success: ROBOT_STATE_MANAGER entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,579 INFO success: OBS_MANAGER entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,586 INFO success: COM_WITH_SERVER.SH entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,592 INFO success: SYNCHRONIZE_TIME.SH entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,661 INFO success: GLXX_BATTERY entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,662 INFO success: WIFI_RSSI_UPLOADER entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,668 INFO success: DELETE_HISTORY_LOG.SH entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,711 INFO success: UPGRADE_MANAGER entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,775 INFO success: COM_WITH_ZYNQ_UDP entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,808 INFO success: BLN_CONTROL.SH entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,972 INFO success: VERSION.SH entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:49 robot start_supervisor.sh[21439]: 2022-12-28 13:41:49,974 INFO success: OTA_UDP_DISCOVERY entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:50 robot start_supervisor.sh[21439]: 2022-12-28 13:41:50,100 INFO success: SMART_DIAGNOSE entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:50 robot start_supervisor.sh[21439]: 2022-12-28 13:41:50,102 INFO success: CAMERA_MANAGER entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:50 robot start_supervisor.sh[21439]: 2022-12-28 13:41:50,170 INFO success: COM_WITH_TELECONTROL_APP entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:50 robot start_supervisor.sh[21439]: 2022-12-28 13:41:50,346 INFO success: COM_WITH_ZYNQ_MONITOR entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:50 robot start_supervisor.sh[21439]: 2022-12-28 13:41:50,347 INFO success: START_FLASK.SH entered RUNNING state, process has stayed up for > than 15 seconds (startsecs) Dec 28 13:41:50 robot supervisorctl[23124]: Shut down Dec 28 13:41:50 robot start_supervisor.sh[21439]: 2022-12-28 13:41:50,745 INFO waiting for WIFI_RSSI_UPLOADER, DELETE_HISTORY_LOG.SH, COM_WITH_SERVER.SH, SYNCHRONIZE_TIME.SH, UPGRADE_MANAGER, COM_WITH_ZYNQ_UDP, START_FLASK.SH, TASK_DISPATCHER, BLN_CONTROL.SH, ROBOT_STATE_MANAGER, COM_WITH_MCU, VERSION.SH, OTA_UDP_DISCOVERY, MESSAGE_PACKING, GLXX_BATTERY, SMART_DIAGNOSE, OBS_MANAGER, CAMERA_MANAGER, COM_WITH_TELECONTROL_APP, COM_WITH_ZYNQ_MONITOR to die Dec 28 13:41:50 robot start_supervisor.sh[21439]: 2022-12-28 13:41:50,748 INFO stopped: START_FLASK.SH (terminated by SIGTERM) Dec 28 13:41:50 robot start_supervisor.sh[21439]: 2022-12-28 13:41:50,762 INFO stopped: COM_WITH_ZYNQ_MONITOR (terminated by SIGTERM) Dec 28 13:41:50 robot start_supervisor.sh[21439]: 2022-12-28 13:41:50,777 INFO stopped: COM_WITH_TELECONTROL_APP (terminated by SIGTERM) Dec 28 13:41:50 robot start_supervisor.sh[21439]: 2022-12-28 13:41:50,786 INFO stopped: CAMERA_MANAGER (terminated by SIGTERM) Dec 28 13:41:50 robot start_supervisor.sh[21439]: 2022-12-28 13:41:50,804 INFO stopped: SMART_DIAGNOSE (terminated by SIGTERM) Dec 28 13:41:50 robot start_supervisor.sh[21439]: 2022-12-28 13:41:50,827 INFO stopped: OTA_UDP_DISCOVERY (terminated by SIGTERM) .....
Here is the configuration file.
supervisor.service
[Unit] Description=Supervisor process control system for UNIX Documentation=http://supervisord.org After=network.target
[Service] ExecStart=/opt/start_supervisor.sh ExecStop=/usr/bin/supervisorctl shutdown ExecReload=/usr/bin/supervisorctl -c /etc/supervisor/supervisord.conf reload KillMode=process Restart=on-failure RestartSec=50s
[Install] WantedBy=multi-user.target
supervisor.conf
; supervisor config file
[unix_http_server] file=/var/run/supervisor.sock ; (the path to the socket file) chmod=0700 ; sockef file mode (default 0700)
[inet_http_server] port=0.0.0.0:9001 username=user password=user
[supervisord] logfile=/var/log/supervisor/Today/supervisord.log ; (main log file;default $CWD/supervisord.log) pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid) childlogdir=/var/log/supervisor/Today ; ('AUTO' child log dir, default $TEMP) nocleanup=true
; the below section must remain in the config file for RPC ; (supervisorctl/web interface) to work, additional interfaces may be ; added by defining them in separate rpcinterface: sections [rpcinterface:supervisor] supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl] serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket
; The [include] section can just contain the "files" setting. This ; setting can list multiple files (separated by whitespace or ; newlines). It can also contain wildcards. The filenames are ; interpreted as relative to this file. Included files cannot ; include files themselves.
[include] files = /etc/supervisor/conf.d/*.conf
start_supervisor.sh
!/bin/bash
pkill supervisord pkill -9 topic_monitor X=$(cat /etc/supervisor/conf.d/supervisor_elephant.conf | grep '[program:' | awk -F '[:]]' '{print $2}'); for x in $X; do pkill $x; done; sleep 1
ulimit -c unlimited mkdir -pv /var/log/supervisor/Today /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf