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

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

[Service]
Type=simple
User=ec2-api
Group=ec2-api
WorkingDirectory=/var/lib/ec2-api
PrivateTmp=yes
ExecStartPre=-/usr/bin/ec2-api-manage db_sync
ExecStart=/usr/bin/ec2-api

[Install]
WantedBy=multi-user.target