From f1225f1d8d817597a84895896a8b86fe2938e436 Mon Sep 17 00:00:00 2001 From: Luis Eduardo Bonatti Date: Mon, 8 Jul 2024 17:23:59 -0300 Subject: [PATCH] Set software-controller-daemon and software-agent under pmon This commit add software-controller-daemon and software-agent under pmon monitor. Test Plan: PASS: Kill software-controller-daemon process, verify it is started by pmon. PASS: Kill software-agent process, verify it is started by pmon. Depends-On: https://review.opendev.org/c/starlingx/update/+/922887 Story: 2010676 Task: 50509 Change-Id: I33191d3636ff4d335c5317aa9aa5077763ccf660 Signed-off-by: Luis Eduardo Bonatti --- kickstart/files/kickstart.cfg | 2 ++ kickstart/files/miniboot.cfg | 2 ++ 2 files changed, 4 insertions(+) diff --git a/kickstart/files/kickstart.cfg b/kickstart/files/kickstart.cfg index 05cbd957..456066b1 100644 --- a/kickstart/files/kickstart.cfg +++ b/kickstart/files/kickstart.cfg @@ -3337,6 +3337,8 @@ if [ "${controller}" = true ] ; then ln -s /usr/share/starlingx/pmon.d/syslog-ng.conf ${IMAGE_ROOTFS}/etc/pmon.d/syslog-ng.conf ln -s /usr/share/starlingx/pmon.d/luks.conf ${IMAGE_ROOTFS}/etc/pmon.d/luks.conf ln -s /usr/share/starlingx/pmon.d/ipsec-server.conf ${IMAGE_ROOTFS}/etc/pmon.d/ipsec-server.conf + ln -s /usr/share/starlingx/pmon.d/software-controller-daemon.conf ${IMAGE_ROOTFS}/etc/pmon.d/software-controller-daemon.conf + ln -s /usr/share/starlingx/pmon.d/software-agent.conf ${IMAGE_ROOTFS}/etc/pmon.d/software-agent.conf fi if [ "${worker}" = true ] ; then ilog "Setting up pmon files for ${TRAIT__WORKER} and/or ${TRAIT__WORKER} side of ${SYSTEM_TYPE__AIO}" diff --git a/kickstart/files/miniboot.cfg b/kickstart/files/miniboot.cfg index eb9aef4b..9c5075ed 100644 --- a/kickstart/files/miniboot.cfg +++ b/kickstart/files/miniboot.cfg @@ -3175,6 +3175,8 @@ if [ "${controller}" = true ] ; then ln -s /usr/share/starlingx/pmon.d/syslog-ng.conf ${IMAGE_ROOTFS}/etc/pmon.d/syslog-ng.conf ln -s /usr/share/starlingx/pmon.d/luks.conf ${IMAGE_ROOTFS}/etc/pmon.d/luks.conf ln -s /usr/share/starlingx/pmon.d/ipsec-server.conf ${IMAGE_ROOTFS}/etc/pmon.d/ipsec-server.conf + ln -s /usr/share/starlingx/pmon.d/software-controller-daemon.conf ${IMAGE_ROOTFS}/etc/pmon.d/software-controller-daemon.conf + ln -s /usr/share/starlingx/pmon.d/software-agent.conf ${IMAGE_ROOTFS}/etc/pmon.d/software-agent.conf fi if [ "${worker}" = true ] ; then ilog "Setting up pmon files for ${TRAIT__WORKER} and/or ${TRAIT__WORKER} side of ${SYSTEM_TYPE__AIO}"