mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-12 22:57:55 +03:00
testrail fixes
This commit is contained in:
parent
c7542cb968
commit
500e3e46e0
@ -49,7 +49,8 @@ echo "[testrail] Background task stoped"
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
if [[ -z "${FIX_WWW_DATA}" ]]; then
|
if [[ -z "${FIX_WWW_DATA}" ]]; then
|
||||||
echo "[apache2] env FIX_WWW_DATA is not set. Skipping..."
|
echo "[apache2] env FIX_WWW_DATA is not set. Fixing permissions anyway"
|
||||||
|
chown www-data:www-data /var/www -R
|
||||||
elif [ "${FIX_WWW_DATA}" == "false" ]; then
|
elif [ "${FIX_WWW_DATA}" == "false" ]; then
|
||||||
echo "[apache2] env FIX_WWW_DATA is set to false. Skipping..."
|
echo "[apache2] env FIX_WWW_DATA is set to false. Skipping..."
|
||||||
elif [ "${FIX_WWW_DATA}" == "true" ]; then
|
elif [ "${FIX_WWW_DATA}" == "true" ]; then
|
||||||
|
@ -46,7 +46,8 @@ echo "[testrail] Background task stoped"
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
if [[ -z "${FIX_WWW_DATA}" ]]; then
|
if [[ -z "${FIX_WWW_DATA}" ]]; then
|
||||||
echo "[apache2] env FIX_WWW_DATA is not set. Skipping..."
|
echo "[apache2] env FIX_WWW_DATA is not set. Fixing permissions anyway"
|
||||||
|
chown www-data:www-data /var/www -R
|
||||||
elif [ "${FIX_WWW_DATA}" == "false" ]; then
|
elif [ "${FIX_WWW_DATA}" == "false" ]; then
|
||||||
echo "[apache2] env FIX_WWW_DATA is set to false. Skipping..."
|
echo "[apache2] env FIX_WWW_DATA is set to false. Skipping..."
|
||||||
elif [ "${FIX_WWW_DATA}" == "true" ]; then
|
elif [ "${FIX_WWW_DATA}" == "true" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user