sonic-buildimage/dockers/docker-database
yozhao101 729f343f77
[Services] Restart database service upon unexpected critical process exit. (#4138)
* [database] Implement the auto-restart feature for database container.

Signed-off-by: Yong Zhao <yozhao@microsoft.com>

* [database] Remove the duplicate dependency in service files. Since we
already have updategraph ---> config_setup ---> database, we do not need
explicitly add database.service in all other container service files.

Signed-off-by: Yong Zhao <yozhao@microsoft.com>

* [event listener] Reorganize the line 73 in event listener script.

Signed-off-by: Yong Zhao <yozhao@microsoft.com>

* [database] update the file sflow.service.j2 to remove the duplicate
dependency.

Signed-off-by: Yong Zhao <yozhao@microsoft.com>

* [event listener] Add comments in event listener.

Signed-off-by: Yong Zhao <yozhao@microsoft.com>

* [event listener] Update the comments in line 56.

Signed-off-by: Yong Zhao <yozhao@microsoft.com>

* [event listener] Add parentheses for if statement in line 76 in event listener.

Signed-off-by: Yong Zhao <yozhao@microsoft.com>
2020-02-11 14:03:02 -08:00
..
base_image_files [Services] Allow monit system tool to monitor the critical processes status running in various SONiC containers. (#3940) 2020-01-10 16:21:02 -08:00
critical_processes [Services] Restart database service upon unexpected critical process exit. (#4138) 2020-02-11 14:03:02 -08:00
database_config.json Add separator field to database_config.json (#3581) 2019-10-08 18:10:38 -07:00
docker-database-init.sh create multiple Redis DB instances based on CONFIG at /etc/sonic/database_config.json (#2182) 2019-08-28 11:15:10 -07:00
Dockerfile.j2 [Services] Restart database service upon unexpected critical process exit. (#4138) 2020-02-11 14:03:02 -08:00
ping_pong_db_insts create multiple Redis DB instances based on CONFIG at /etc/sonic/database_config.json (#2182) 2019-08-28 11:15:10 -07:00
supervisord.conf.j2 [Services] Restart database service upon unexpected critical process exit. (#4138) 2020-02-11 14:03:02 -08:00