File openstack-designate-api.service of Package openstack-designate

[Unit]
Description=OpenStack designate API service
After=syslog.target network.target
After=mysql.service postgresql.service rabbitmq-server.service

[Service]
Type=simple
User=designate
Group=designate
WorkingDirectory=/var/lib/designate
PrivateTmp=yes
ExecStartPre=/usr/bin/designate-manage database sync
ExecStart=/usr/bin/designate-api  --logfile /var/log/designate/designate-api.log

[Install]
WantedBy=multi-user.target