diff --git a/mtce-guest/debian/deb_folder/mtce-guest-server.install b/mtce-guest/debian/deb_folder/mtce-guest-server.install index 6c0b4780..3430cf53 100644 --- a/mtce-guest/debian/deb_folder/mtce-guest-server.install +++ b/mtce-guest/debian/deb_folder/mtce-guest-server.install @@ -2,6 +2,5 @@ etc/init.d/guestServer etc/logrotate.d/guestServer.logrotate etc/mtc/guestServer.ini etc/mtc/tmp -etc/pmon.d/guestServer.conf usr/local/bin/guestServer usr/share/starlingx/pmon.d/guestServer.conf diff --git a/mtce-guest/debian/deb_folder/rules b/mtce-guest/debian/deb_folder/rules index 0a82c2f7..8aabade5 100644 --- a/mtce-guest/debian/deb_folder/rules +++ b/mtce-guest/debian/deb_folder/rules @@ -7,8 +7,7 @@ export BINDIR=/usr/local/bin export INITDIR=$(ROOT)/etc/init.d export LOGDIR=$(ROOT)/etc/logrotate.d export MTCDIR=$(ROOT)/etc/mtc -export PMONDIR_1=${ROOT}/usr/share/starlingx/pmon.d -export PMONDIR_2=$(ROOT)/etc/pmon.d +export PMONDIR=${ROOT}/usr/share/starlingx/pmon.d export SYSCONFDIR=/etc export UNITDIR=/lib/systemd/system @@ -32,10 +31,8 @@ override_dh_auto_install: install -d -m 755 $(MTCDIR)/tmp install -p -D -m 644 scripts/guest.ini $(MTCDIR)/guestAgent.ini install -p -D -m 644 scripts/guest.ini $(MTCDIR)/guestServer.ini - install -d -m 755 $(PMONDIR_1) - install -p -D -m 644 scripts/guestServer.pmon $(PMONDIR_1)/guestServer.conf - install -d -m 755 $(PMONDIR_2) - install -p -D -m 644 scripts/guestServer.pmon $(PMONDIR_2)/guestServer.conf + install -d -m 755 $(PMONDIR) + install -p -D -m 644 scripts/guestServer.pmon $(PMONDIR)/guestServer.conf override_dh_installsystemd: dh_installsystemd -pmtce-guest-server --name guestServer guestServer.service