do not start apache if user specifies a command

This commit is contained in:
Sameer Naik
2015-09-30 21:30:02 +05:30
parent 228c72eea6
commit 720912dab1
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
if [ -n "${1}" ]; then
touch /etc/services.d/$BITNAMI_APP_NAME/down
fi
exec /init "$@"