/lib/systemd/system/designate-api.service is in designate-api 2014.1-18+deb8u1.
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=Designate DNSaaS API
After=postgresql.service mysql.service keystone.service rabbitmq-server.service ntp.service
[Service]
User=designate
Group=designate
WorkingDirectory=/var/lib/designate
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/designate /var/log/designate /var/lib/designate
ExecStartPre=/bin/chown designate:designate /var/lock/designate /var/log/designate /var/lib/designate
ExecStart=/etc/init.d/designate-api systemd-start
Restart=on-failure
[Install]
WantedBy=multi-user.target
|