diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-03-16 15:12:14 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-04-08 18:29:29 +0100 |
commit | 0d390862eb45bb93e79e5d56143ff8b3f9d79995 (patch) | |
tree | 20119bdc73cdec5e62d845e3ae211ab7d8a1da00 /openstack/usr/lib/systemd/system/openstack-keystone-setup.service | |
parent | 7bbd7875bc06b5e9014de44c2a45f4fbe4659b27 (diff) | |
download | definitions-0d390862eb45bb93e79e5d56143ff8b3f9d79995.tar.gz |
Move systemd units to /usr/lib/systemd/system as defined in systemd documentation
See http://www.freedesktop.org/software/systemd/man/systemd.unit.html for more
information
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-keystone-setup.service')
-rw-r--r-- | openstack/usr/lib/systemd/system/openstack-keystone-setup.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-keystone-setup.service b/openstack/usr/lib/systemd/system/openstack-keystone-setup.service new file mode 100644 index 00000000..9ea04c1d --- /dev/null +++ b/openstack/usr/lib/systemd/system/openstack-keystone-setup.service @@ -0,0 +1,12 @@ +[Unit] +Description=Run keystone-setup Ansible scripts +After=local-fs.target postgres-server.service +ConditionPathExists=/etc/openstack/keystone.conf + +[Service] +# Oneshot, since others setup have to wait until this service finishes +Type=oneshot +ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/keystone.yml + +[Install] +WantedBy=multi-user.target |