11 lines
217 B
Bash
Executable File
11 lines
217 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Remove left-overs from an incomplete shutdown previously.
|
|
rm -rf /run/httpd/* /tmp/httpd*
|
|
|
|
exec /usr/sbin/httpd \
|
|
-DFOREGROUND \
|
|
-c "LogLevel ${LOG_LEVEL:-error}" \
|
|
-c "ServerName ${HOSTNAME}" \
|
|
"$@"
|