mirror of
https://github.com/misterunknown/ifm.git
synced 2025-01-17 20:58:23 +01:00
16 lines
443 B
Bash
16 lines
443 B
Bash
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
################################################################################
|
||
|
# Adjust ifm configuration according to docker env vars.
|
||
|
# Defaults should match those in ifm.php. See Dockerfile for details.
|
||
|
|
||
|
################################################################################
|
||
|
|
||
|
# Apache gets grumpy about PID files pre-existing
|
||
|
rm -f /usr/local/apache2/logs/httpd.pid
|
||
|
|
||
|
# Start up apache
|
||
|
exec httpd -DFOREGROUND
|
||
|
|