aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2016-08-10 13:58:53 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2016-08-15 12:32:00 +0200
commit1a8e7aac9ec7f108c5b6b775a39decf5c1e66ff9 (patch)
tree2c40d052061fe5880c48117c61478708019d352f /meta-webserver
parent3146e64a8c79896415fec242318c8f9479876db4 (diff)
downloadmeta-openembedded-1a8e7aac9ec7f108c5b6b775a39decf5c1e66ff9.tar.gz
meta-openembedded-1a8e7aac9ec7f108c5b6b775a39decf5c1e66ff9.tar.bz2
meta-openembedded-1a8e7aac9ec7f108c5b6b775a39decf5c1e66ff9.zip
hiawatha-init: create log directory during init
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver')
-rw-r--r--meta-webserver/recipes-httpd/hiawatha/files/hiawatha-init1
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 47fc0877a..7427fcb90 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."
;;