/lib/systemd/system/heat-api-cloudwatch.service is in heat-api-cloudwatch 2014.1.3-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | [Unit]
Description=Heat API
[Service]
User=heat
Group=heat
WorkingDirectory=/var/lib/heat
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/heat /var/log/heat /var/lib/heat
ExecStartPre=/bin/chown heat:heat /var/lock/heat /var/log/heat /var/lib/heat
ExecStart=/etc/init.d/heat-api-cloudwatch systemd-start
Restart=on-failure
[Install]
WantedBy=multi-user.target
|