Merge "Duplicate pmon.d conf files to another location"

This commit is contained in:
Zuul 2022-08-29 21:58:34 +00:00 committed by Gerrit Code Review
commit 5965f21400
3 changed files with 6 additions and 0 deletions

View File

@ -1,2 +1,3 @@
etc/pmon.d
usr/lib/python3/dist-packages/logmgmt*
usr/share/starlingx/pmon.d

View File

@ -3,3 +3,4 @@ etc/init.d/*
etc/pmon.d/*
usr/lib/systemd/system/logmgmt.service
usr/lib/python3/dist-packages/logmgmt*
usr/share/starlingx/pmon.d/*

View File

@ -6,6 +6,7 @@ export ROOT = $(CURDIR)/debian/tmp
export LOCAL_BINDIR = $(ROOT)/usr/bin
export LOCAL_ETC_INITD = $(ROOT)/etc/init.d
export LOCAL_ETC_PMOND = $(ROOT)/etc/pmon.d
export PMONDIR = $(ROOT)/usr/share/starlingx/pmon.d
export UNIT_DIR = $(ROOT)/usr/lib/systemd/system
%:
@ -29,6 +30,9 @@ override_dh_install:
install -d -m 755 $(LOCAL_ETC_PMOND)
install -p -D -m 644 scripts/pmon.d/logmgmt $(LOCAL_ETC_PMOND)/logmgmt
install -d -m 755 $(PMONDIR)
install -p -D -m 644 scripts/pmon.d/logmgmt $(PMONDIR)/logmgmt
install -p -D -m 644 scripts/etc/systemd/system/logmgmt.service $(UNIT_DIR)/logmgmt.service
dh_install