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

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

[Service]
Type=notify
User=sahara
Group=sahara
WorkingDirectory=/var/lib/sahara
PrivateTmp=yes
ExecStartPre=-/usr/bin/sahara-db-manage upgrade head
ExecStart=/usr/bin/sahara-api
Restart=on-failure

[Install]
WantedBy=multi-user.target