diff options
| author | Mihai Prica <prica.mihai@gmail.com> | 2013-07-04 17:36:19 +0300 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-28 18:41:57 -0400 |
| commit | 8be1d5385f2f4eb85ffc46db73f964428563af8e (patch) | |
| tree | 473a625f3e5843624d7d00b1b0f1b1657e439b6f /meta-openstack/recipes-devtools/python/python-glance | |
| parent | 9317870c266b1c3b25ba87dce680bb15de401a21 (diff) | |
| download | meta-cloud-services-8be1d5385f2f4eb85ffc46db73f964428563af8e.tar.gz | |
python-glance: Create log directory in initscript
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-glance')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-glance/glance.init | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-glance/glance.init b/meta-openstack/recipes-devtools/python/python-glance/glance.init index 7a269d6..c61abaa 100644 --- a/meta-openstack/recipes-devtools/python/python-glance/glance.init +++ b/meta-openstack/recipes-devtools/python/python-glance/glance.init | |||
| @@ -28,6 +28,10 @@ start() | |||
| 28 | fi | 28 | fi |
| 29 | fi | 29 | fi |
| 30 | 30 | ||
| 31 | if [ ! -d /var/log/glance ]; then | ||
| 32 | mkdir /var/log/glance | ||
| 33 | fi | ||
| 34 | |||
| 31 | echo -n "Starting $DESC..." | 35 | echo -n "Starting $DESC..." |
| 32 | 36 | ||
| 33 | start-stop-daemon --start --quiet --background \ | 37 | start-stop-daemon --start --quiet --background \ |
