diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-06 06:21:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-06 06:21:05 +0000 |
commit | fdf39794195592b4da31471a1485250fc132f143 (patch) | |
tree | 8598dc6aa4d4466d843688ec51c28cc1c0930162 /main/apache2/apache2.initd | |
parent | 9a95a4af072de5cedf2be02ecefe9aa001de54b9 (diff) | |
download | aports-fdf39794195592b4da31471a1485250fc132f143.tar.bz2 aports-fdf39794195592b4da31471a1485250fc132f143.tar.xz |
main/apache2: create pid dir at startup. ignore missing conf.d/*.conf
ref #2171
Diffstat (limited to 'main/apache2/apache2.initd')
-rwxr-xr-x | main/apache2/apache2.initd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/apache2/apache2.initd b/main/apache2/apache2.initd index 537f435ab2..4c994dff53 100755 --- a/main/apache2/apache2.initd +++ b/main/apache2/apache2.initd @@ -55,6 +55,7 @@ checkconfig() { } start() { + checkpath --directory /var/run/apache2 checkconfig || return 1 [ -f /var/log/apache2/ssl_scache ] && rm /var/log/apache2/ssl_scache |