/lib/systemd/system/mistral-api.service is in mistral-api 2.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | [Unit]
Description=OpenStack Mistral API Server
After=postgresql.service mysql.service keystone.service rabbitmq-server.service ntp.service
[Service]
User=mistral
Group=mistral
Type=simple
WorkingDirectory=/var/lib/mistral
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/mistral /var/log/mistral /var/lib/mistral
ExecStartPre=/bin/chown mistral:mistral /var/lock/mistral /var/log/mistral /var/lib/mistral
ExecStart=/etc/init.d/mistral-api systemd-start
Restart=on-failure
LimitNOFILE=65535
TimeoutStopSec=15
[Install]
WantedBy=multi-user.target
|