File openstack-trove-api.service of Package openstack-trove-doc

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

[Service]
Type=simple
User=trove
Group=trove
WorkingDirectory=/var/lib/trove
PrivateTmp=yes
ExecStartPre=-/usr/bin/trove-manage --config-dir /etc/trove/ --config-dir /etc/trove/trove-api.conf.d/ db_sync
ExecStart=/usr/bin/trove-api

[Install]
WantedBy=multi-user.target