diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-04-13 18:06:31 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-04-14 16:54:02 +0000 |
commit | 3e38563cec54164125da3634bc5d2876b1c008fd (patch) | |
tree | 84d69b213c6493c12da9579ce7b13f8fb9abf56e /openstack/usr/lib | |
parent | fe8750908ed2f98d12a981a319122a6345e5cbed (diff) | |
download | definitions-3e38563cec54164125da3634bc5d2876b1c008fd.tar.gz |
Openstack: Make Glance configurable
Change-Id: I137bd286b2f8ad6eeb37d34803f9ae41a735e7ec
Signed-off-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk>
Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
Diffstat (limited to 'openstack/usr/lib')
3 files changed, 35 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-glance-api.service b/openstack/usr/lib/systemd/system/openstack-glance-api.service new file mode 100644 index 00000000..e1387118 --- /dev/null +++ b/openstack/usr/lib/systemd/system/openstack-glance-api.service @@ -0,0 +1,13 @@ +[Unit] +Description=OpenStack Image Service (code-named Glance) API server +After=syslog.target network-online.target +Wants=network-online.target + +[Service] +Type=simple +User=glance +ExecStart=/usr/bin/glance-api --config-file /etc/glance/glance-api.conf + +[Install] +WantedBy=multi-user.target + diff --git a/openstack/usr/lib/systemd/system/openstack-glance-registry.service b/openstack/usr/lib/systemd/system/openstack-glance-registry.service new file mode 100644 index 00000000..f3134352 --- /dev/null +++ b/openstack/usr/lib/systemd/system/openstack-glance-registry.service @@ -0,0 +1,13 @@ +[Unit] +Description=OpenStack Image Service (code-named Glance) Registry server +After=syslog.target network-online.target +Wants=network-online.target + +[Service] +Type=simple +User=glance +ExecStart=/usr/bin/glance-registry --config-file /etc/glance/glance-registry.conf + +[Install] +WantedBy=multi-user.target + diff --git a/openstack/usr/lib/systemd/system/openstack-glance-setup.service b/openstack/usr/lib/systemd/system/openstack-glance-setup.service new file mode 100644 index 00000000..c00c520c --- /dev/null +++ b/openstack/usr/lib/systemd/system/openstack-glance-setup.service @@ -0,0 +1,9 @@ +[Unit] +Description=Run glance-setup Ansible scripts +After=local-fs.target openstack-keystone-setup.service postgres-server.service + +[Service] +ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/glance.yml + +[Install] +WantedBy=multi-user.target |