diff options
| author | Derek Straka <derek@asterius.io> | 2016-08-10 13:58:53 -0400 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-08-15 12:32:00 +0200 |
| commit | 1a8e7aac9ec7f108c5b6b775a39decf5c1e66ff9 (patch) | |
| tree | 2c40d052061fe5880c48117c61478708019d352f | |
| parent | 3146e64a8c79896415fec242318c8f9479876db4 (diff) | |
| download | meta-openembedded-1a8e7aac9ec7f108c5b6b775a39decf5c1e66ff9.tar.gz | |
hiawatha-init: create log directory during init
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init b/meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init index 47fc0877ad..7427fcb900 100644 --- a/meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init +++ b/meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init | |||
| @@ -19,6 +19,7 @@ OPTS="" | |||
| 19 | case "$1" in | 19 | case "$1" in |
| 20 | start) | 20 | start) |
| 21 | echo -n "Starting $DESC: " | 21 | echo -n "Starting $DESC: " |
| 22 | mkdir -p /var/log/hiawatha &> /dev/null | ||
| 22 | start-stop-daemon --start -x "$DAEMON" -- $OPTS | 23 | start-stop-daemon --start -x "$DAEMON" -- $OPTS |
| 23 | echo "$NAME." | 24 | echo "$NAME." |
| 24 | ;; | 25 | ;; |
