mirror of
https://github.com/bitnami/containers.git
synced 2026-03-09 07:27:54 +08:00
do not start apache if user specifies a command
This commit is contained in:
7
bitnami/apache/rootfs/entrypoint.sh
Executable file
7
bitnami/apache/rootfs/entrypoint.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -n "${1}" ]; then
|
||||
touch /etc/services.d/$BITNAMI_APP_NAME/down
|
||||
fi
|
||||
|
||||
exec /init "$@"
|
||||
Reference in New Issue
Block a user