/lib/systemd/system/nova-baremetal.service is in nova-baremetal 2014.1.3-11.
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 | [Unit]
Description=OpenStack Compute Baremetal
After=postgresql.service mysql.service keystone.service
[Service]
User=nova
Group=nova
WorkingDirectory=/var/lib/nova
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/nova /var/log/nova /var/lib/nova
ExecStartPre=/bin/chown nova:nova /var/lock/nova /var/log/nova /var/lib/nova
ExecStart=/etc/init.d/nova-baremetal-deploy-helper systemd-start
Restart=on-failure
[Install]
WantedBy=multi-user.target
|