/lib/systemd/system/ironic-api.service is in ironic-api 1:5.1.0-0ubuntu1.
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 | [Unit]
Description=OpenStack Baremetal Service API
After=postgresql.service mysql.service keystone.service ntp.service rabbitmq-server.service
[Service]
User=ironic
Group=ironic
Type=simple
WorkingDirectory=/var/lib/ironic
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/ironic /var/log/ironic /var/lib/ironic
ExecStartPre=/bin/chown ironic:ironic /var/lock/ironic /var/log/ironic /var/lib/ironic
ExecStart=/etc/init.d/ironic-api systemd-start
Restart=on-failure
LimitNOFILE=65535
TimeoutStopSec=15
[Install]
WantedBy=multi-user.target
|