/lib/systemd/system/ceilometer-agent-central.service is in ceilometer-agent-central 1:7.0.1-5.
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 17 18 19 20 21 22 | [Unit]
Description=OpenStack Ceilometer Agent Central
After=mongodb.service rabbitmq-server.service
[Service]
User=ceilometer
Group=ceilometer
Type=simple
WorkingDirectory=/var/lib/ceilometer
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/ceilometer /var/log/ceilometer /var/lib/ceilometer
ExecStartPre=/bin/chown ceilometer:ceilometer /var/lock/ceilometer /var/lib/ceilometer
ExecStartPre=/bin/chown ceilometer:adm /var/log/ceilometer
ExecStart=/etc/init.d/ceilometer-agent-central systemd-start
Restart=on-failure
LimitNOFILE=65535
TimeoutStopSec=65
[Install]
WantedBy=multi-user.target
|