[oe-commits] [meta-openembedded] 38/46: hiawatha-init: create log directory during init

git at git.openembedded.org git at git.openembedded.org
Thu Aug 11 12:16:05 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 16e9a1610e2f179f526ae1a9943fa530fe61573c
Author: Derek Straka <derek at asterius.io>
AuthorDate: Wed Aug 10 13:58:53 2016 -0400

    hiawatha-init: create log directory during init
    
    Signed-off-by: Derek Straka <derek at asterius.io>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init b/meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init
index 47fc087..7427fcb 100644
--- a/meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init
+++ b/meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init
@@ -19,6 +19,7 @@ OPTS=""
 case "$1" in
   start)
 	echo -n "Starting $DESC: "
+	mkdir -p /var/log/hiawatha &> /dev/null
 	start-stop-daemon --start -x "$DAEMON" -- $OPTS
 	echo "$NAME."
 	;;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list