diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder/cinder-init.service')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-cinder/cinder-init.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-init.service b/meta-openstack/recipes-devtools/python/python-cinder/cinder-init.service new file mode 100644 index 0000000..75425ba --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-init.service | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Barebones OpenStack cinder initialization | ||
| 3 | After=postgresql-init.service keystone-init.service | ||
| 4 | |||
| 5 | [Service] | ||
| 6 | Type=oneshot | ||
| 7 | ExecStart=%SYSCONFDIR%/cinder/cinder-init | ||
| 8 | ExecStartPost=/bin/systemctl --no-reload disable cinder-init.service | ||
| 9 | RemainAfterExit=No | ||
| 10 | |||
| 11 | [Install] | ||
| 12 | WantedBy=multi-user.target | ||
