Add initial meta-stx to support StarlingX build
[pti/rtp.git] / meta-stx / recipes-devtools / python / files / python-keystone / keystone-init.service
diff --git a/meta-stx/recipes-devtools/python/files/python-keystone/keystone-init.service b/meta-stx/recipes-devtools/python/files/python-keystone/keystone-init.service
new file mode 100644 (file)
index 0000000..b114806
--- /dev/null
@@ -0,0 +1,12 @@
+[Unit]
+Description=Barebones OpenStack keystone initialization
+After=postgresql-init.service
+
+[Service]
+Type=oneshot
+ExecStart=%SYSCONFIGDIR%/keystone/keystone-init
+ExecStartPost=/bin/systemctl --no-reload disable keystone-init.service
+RemainAfterExit=No
+
+[Install]
+WantedBy=multi-user.target