mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
apache2: create log/run directory via pkg_postinst
The commit e789c3837c tries to create
log/run directory in initscript/systemd unit file. This is not a correct
method. We should create them in pkg_postinst.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -97,11 +97,6 @@ do_start()
|
||||
return 1
|
||||
fi
|
||||
|
||||
mkdir -p /var/log/apache2
|
||||
chmod -R 0755 /var/log/apache2
|
||||
mkdir -p /var/run/apache2
|
||||
chmod -R 0755 /var/run/apache2
|
||||
|
||||
if apache_conftest ; then
|
||||
$APACHECTL start
|
||||
apache_wait_start $?
|
||||
|
||||
Reference in New Issue
Block a user