integ/tools/engtools/hostdata-collectors/scripts/collect-engtools.service
Tee Ngo 610a9282c9 Various engtools fixes
- Change engtools init order to ensure that stats streaming agents on
  the compute and storage nodes do not
  start prematurely after DOR
- Workaround a systemd preun scriptlet issue that caused patch removal
  failure
- Stream database stats in batches (max 10 DBs/batch)
- Account for new processes

Story: 2002895
Task: 22858

Change-Id: Iaeeca7f51b442c27fc475777abc612d53dc97ce5
Signed-off-by: Jack Ding <jack.ding@windriver.com>
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-01 12:42:02 -04:00

16 lines
403 B
Desktop File

[Unit]
Description=Engineering data collection tools to monitor host performance
Requires=network.service
After=network.service getty.target
[Service]
Type=forking
ExecStart=/etc/init.d/collect-engtools.sh start
ExecStop=/etc/init.d/collect-engtools.sh stop
ExecReload=/etc/init.d/collect-engtools.sh reload
PIDFile=/var/run/collect-engtools.sh.pid
Restart=always
[Install]
WantedBy=multi-user.target