ha/service-mgmt/sm-db/database
Kyale, Eliud 0db57d60be Add service dependancy haproxy dnsmasq
haproxy uses dns resolution
add service dependency to sm database
to ensure that dnsmasq service is started before haproxy
and dnsmasq is disabled after haproxy is disabled

Test plan:

PASS - AIO-SX: iso install
PASS - AIO-SX: reboot test
PASS - AIO-DX: iso install
PASS - AIO-DX: swact test

Closes-Bug: #2043506

Change-Id: I494faebfe67843d34819f66a0a2fbd977657bb6b
Signed-off-by: Kyale, Eliud <Eliud.Kyale@windriver.com>
2024-01-16 09:32:53 -05:00
..
Makefile Fix /var are not updated according to the patch changes 2023-08-10 14:52:02 +00:00
README Remove version from sm-db folder 2019-09-26 14:08:15 -05:00
create_sm_db.sql Add service dependancy haproxy dnsmasq 2024-01-16 09:32:53 -05:00
create_sm_hb_db.sql Remove version from sm-db folder 2019-09-26 14:08:15 -05:00
sm-patch.sql Remove version from sm-db folder 2019-09-26 14:08:15 -05:00

README

The SM database is generated by the corresponding SQL scripts:
create_sm_db.sql -> sm.db
create_sm_hb_db.sql -> sm.db.hb

Instructions:
1. Update the corresponding SQL script i.e, create_sm_db.sql or create_sm_hb_db.sql:
    Add proper SQL statement(s) (insert, update, delete) to the sql file.