a8a2bb845b
To support python3 in the near future this was done: * Removed dependency on supervisor. * Added template configuration for systemd target that includes all services. * Added templates configuration for systemd service for every single service. * Changed monasca_setup to use the new templates. In the meanwhile code was formated to cope with pep8 settings and some other small changes were done to comply with pycodestyle and pydocstring. Task: 4126 Story: 2000975 Depends-On: https://review.openstack.org/#/c/566475/ Change-Id: I0d0c4ea41a830581d6b9f247fad6a2dda1f96cbe
15 lines
286 B
Plaintext
15 lines
286 B
Plaintext
[Unit]
|
|
Description=Monasca Agent - Forwarder
|
|
PartOf=monasca-agent.target
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User={monasca_user}
|
|
Group={monasca_user}
|
|
Restart=always
|
|
ExecStart={prefix}/bin/monasca-forwarder
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |