d380292b8a
This work only affects Debian. Currently guestServer.service is not part of the designed package (mtce-guest-server), but part of mtce-guest-agent. Fix packaging to deliver the file in the designed package. Fix because we don't want anything related to this to bite us later. This is a follow-up to [1]. Tests: PASS: build-pkgs guestAgent.service is part of mtce-guest-agent guestServer.service is part of mtce-guest-server PASS: build-image PASS: Standard lab deployed [1]: https://review.opendev.org/c/starlingx/nfv/+/830596 Story: 2009101 Task: 44323 Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com> Change-Id: I55b3901120af424353c9d18f2f4d2855f4f7605b
24 lines
482 B
Desktop File
24 lines
482 B
Desktop File
[Unit]
|
|
Description=StarlingX Maintenance Guest Heartbeat Monitor Server
|
|
After=network.target syslog.service config.service
|
|
Before=pmon.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/etc/init.d/guestServer start
|
|
ExecStop=/etc/init.d/guestServer stop
|
|
ExecReload=/etc/init.d/guestServer reload
|
|
PIDFile=/var/run/guestServer.pid
|
|
|
|
# Failure handling
|
|
TimeoutStartSec=10s
|
|
TimeoutStopSec=10s
|
|
|
|
# process recovery is handled by pmond
|
|
Restart=no
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|