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

[Unit]
Description=Provides the OpenStack Octavia API service
After=syslog.target network.target
After=mariadb.service postgresql.service rabbitmq-server.service

[Service]
Type=simple
User=octavia
Group=octavia
WorkingDirectory=/var/lib/octavia
ExecStartPre=-/usr/bin/octavia-db-manage upgrade head
ExecStart=/usr/bin/octavia-api
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target