Skip to content

Instantly share code, notes, and snippets.

@azamara
Last active October 8, 2019 12:25
Show Gist options
  • Save azamara/3c595968728f1c2113ca48c5c360e9dc to your computer and use it in GitHub Desktop.
Save azamara/3c595968728f1c2113ca48c5c360e9dc to your computer and use it in GitHub Desktop.
vi /lib/systemd/system/keystone.service
[Unit]
Description=OpenStack Identity service
After=mysql.service postgresql.service slapd.service rabbitmq-server.service ntp.service
[Service]
User=keystone
Group=keystone
Type=simple
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
LimitNOFILE=65535
TimeoutStopSec=15
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment