From 0f682de55fb06105deb928cf0066d704b63c1b7c Mon Sep 17 00:00:00 2001 From: Chuck Short Date: Thu, 24 Mar 2022 16:52:50 +0000 Subject: [PATCH] debian: Ensure cgcs-patch services are running Ensure that the services needed for cgcs-patch are enabled when the package is installed. Story: 2009101 Task: 43076 Test Plan PASS Build and Test ISO PASS Check for /etc/systemd/system-preset/00-cgcs-patch.preset Signed-off-by: Chuck Short Change-Id: Ie74d9925b66f767d623ca0c8ec00081fe63a3a8f --- cgcs-patch/debian/deb_folder/cgcs-patch.install | 1 + cgcs-patch/debian/deb_folder/systemd/00-cgcs-patch.preset | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 cgcs-patch/debian/deb_folder/systemd/00-cgcs-patch.preset diff --git a/cgcs-patch/debian/deb_folder/cgcs-patch.install b/cgcs-patch/debian/deb_folder/cgcs-patch.install index 8a0968f3..6329f142 100644 --- a/cgcs-patch/debian/deb_folder/cgcs-patch.install +++ b/cgcs-patch/debian/deb_folder/cgcs-patch.install @@ -8,3 +8,4 @@ etc/init.d/sw-patch lib/systemd/system/sw-patch.service etc/goenabled.d/patch_check_goenabled.sh etc/logrotate.d/patching +debian/systemd/00-cgcs-patch.preset etc/systemd/system-preset diff --git a/cgcs-patch/debian/deb_folder/systemd/00-cgcs-patch.preset b/cgcs-patch/debian/deb_folder/systemd/00-cgcs-patch.preset new file mode 100644 index 00000000..4e6c6c7f --- /dev/null +++ b/cgcs-patch/debian/deb_folder/systemd/00-cgcs-patch.preset @@ -0,0 +1,4 @@ +enable sw-patch-controller.service +enable sw-patch-controller-daemon.service +enable sw-patch-agent.service +enable sw-patch.service