/lib/systemd/system/keystone.service is in keystone 2014.1.3-6.
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 Identity service
After=mysql.service postgresql.service slapd.service rabbitmq-server.service ntp.service
[Service]
User=keystone
Group=keystone
WorkingDirectory=/var/lib/keystone
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/keystone /var/log/keystone /var/lib/keystone
ExecStartPre=/bin/chown keystone:keystone /var/lock/keystone /var/log/keystone /var/lib/keystone
ExecStart=/etc/init.d/keystone systemd-start
Restart=on-failure
[Install]
WantedBy=multi-user.target
|