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:
Yi Zhao
2020-05-22 10:54:49 +08:00
committed by Khem Raj
parent 64469492b0
commit 6f4d0dbfbc
5 changed files with 23 additions and 9 deletions
@@ -0,0 +1,2 @@
d /var/run/apache2 0755 root root -
d /var/log/apache2 0755 root root -