/lib/systemd/system/aodh-notifier.service is in aodh-notifier 6.0.0-0ubuntu1.
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 Aodh Notifier
After=mongodb.service rabbitmq-server.service
[Service]
User=aodh
Group=aodh
Type=simple
WorkingDirectory=/var/lib/aodh
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/aodh /var/log/aodh /var/lib/aodh
ExecStartPre=/bin/chown aodh:aodh /var/lock/aodh /var/lib/aodh
ExecStartPre=/bin/chown aodh:adm /var/log/aodh
ExecStart=/etc/init.d/aodh-notifier systemd-start
Restart=on-failure
LimitNOFILE=65535
TimeoutStopSec=15
[Install]
WantedBy=multi-user.target
|