|
|
@@ -12,7 +12,7 @@ if [ $response == 'ON' ]; then
|
|
|
|
|
|
sed -i "s/<span id='date_dispo'>.*<\/span>/<span id='date_dispo'>${message}<\/span>/g" ${MAINTENANCE_PATH}/maintenance.html
|
|
|
cp -f ${MAINTENANCE_PATH}/.htaccess_maintenance_on ${FRONT_PATH}/.htaccess
|
|
|
- ssh -t root@prod-back "touch /tmp/MAINTENANCE"
|
|
|
+ ssh -t exploitation@prod-back "touch /tmp/MAINTENANCE"
|
|
|
echo "Maintenance ON"
|
|
|
|
|
|
elif [ $response == 'OFF' ]; then
|