mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
main/apache2: Create /run folder for apache2 on install
The directory /run/apache2 is only created when running in openrc (see apache2.initd). When installing on a non-openrc system (e.g. docker), this folder is missing and apache2 refuses to start. Closes https://bugs.alpinelinux.org/issues/9982
This commit is contained in:
parent
eb3ede8d11
commit
be9c8ed89d
@ -3,7 +3,7 @@
|
||||
pkgname=apache2
|
||||
_pkgreal=httpd
|
||||
pkgver=2.4.38
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A high performance Unix-based HTTP server"
|
||||
url="https://httpd.apache.org/"
|
||||
arch="all"
|
||||
@ -172,6 +172,10 @@ package() {
|
||||
error "$i MPM was not built"
|
||||
fi
|
||||
done
|
||||
|
||||
# create the run directory
|
||||
# ref #9982
|
||||
mkdir -p "$pkgdir"/run/apache2
|
||||
}
|
||||
|
||||
_make_conf_dir() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user