summaryrefslogtreecommitdiff
path: root/install-files/openstack/usr/lib/systemd/system/openstack-glance-registry.service
diff options
context:
space:
mode:
Diffstat (limited to 'install-files/openstack/usr/lib/systemd/system/openstack-glance-registry.service')
-rw-r--r--install-files/openstack/usr/lib/systemd/system/openstack-glance-registry.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/install-files/openstack/usr/lib/systemd/system/openstack-glance-registry.service b/install-files/openstack/usr/lib/systemd/system/openstack-glance-registry.service
new file mode 100644
index 00000000..d53c8b33
--- /dev/null
+++ b/install-files/openstack/usr/lib/systemd/system/openstack-glance-registry.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=OpenStack Image Service (code-named Glance) Registry server
+ConditionPathExists=/etc/glance/glance-registry.conf
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=glance
+StandardOutput=null
+StandardError=null
+ExecStart=/usr/bin/glance-registry --config-file /etc/glance/glance-registry.conf
+
+[Install]
+WantedBy=multi-user.target
+