Change horizon to be launched by sm.service using systemd-run instead
of start-stop-daemon. This will enable horizon to be launched as a
transient systemd unit under system.slice instead of a subprocess of
sm.service. Moreover, it will enable a better visualization and
monitoring of cpu consumption via /var/log/collectd.log.
The service unit is defined as openstack-dashboard.service.
Test-Plan (AIO-SX/AIO-DX):
PASS: build-pkgs
PASS: Install ISO and bootstrap
PASS: systemd-cgls show openstack-dashboard.service under system.slice
PASS: /var/log/collectd.log shows cpu consumption for
openstack-dashboard service
Test Plan (AIO-DX):
PASS: Perform host-swact and check:
- no alarms in <fm alarm-list> command
- no unexpected logs in sm-customer.log and sm.log
Story: 2011377
Task: 52081
Change-Id: I18fbc9485bbaf55a75fd9d59b5626d7094e21b9c
Signed-off-by: Alyson Deives Pereira <alyson.deivespereira@windriver.com>