config/sysinv/sysinv-fpga-agent/debian/deb_folder/sysinv-conf-watcher.path
lbonatti 6131a76447 Fix failing sysinv services on Debian
Modified sysinv to address the following failing
services on Debian:

sysinv-agent.service
sysinv-api.service
sysinv-conductor.service
sysinv-conf-watcher.service
sysinv-fpga-agent.service

Note: Sysinv services are dependent on platform.conf and
build.info files, currently, those are not available on
debian and should be addressed in the near future. They
were created manually in order to start the services.

Applied fix:
- Included modified .service files for debian
directly into into the deb_folder.
- Changed the script files to account for the different
locations of the init-functions.
- Included "override_dh_installsystemd" section
to rules in order to install services.
- Included --no-enable on sysinv-api, sysinv-conductor
to prevent failed state after install as is on centOS,
the services is started further on bootstrap.

Test Plan:

PASS: Package installed and ISO built successfully.
PASS: Services are on the expected state after iso install:
	sysinv-api, sysinv-conductor: loaded.
	sysinv-agent: active.
	sysinv-conf-watcher, sysinv-fpga-agent: failed.
PASS: Services are running after bootstrap on Debian.

Story: 2009101
Task: 44348

Depends-on: https://review.opendev.org/c/starlingx/integ/+/826935
Signed-off-by: lbonatti <LuizEduardo.Bonatti@windriver.com>
Change-Id: I87e05f2b05a39ff109a2ea18763d4aae9827a8c3
2022-02-02 19:26:10 +00:00

6 lines
81 B
SYSTEMD

[Path]
PathChanged=/etc/sysinv/sysinv.conf
[Install]
WantedBy=multi-user.target