anchor.diff:      && chmod 775 /vesta-start/local/vesta/data/sessions \
       && chown root:admin /vesta-start/local/vesta/data/sessions \
   
  -# fix docker nginx ips
  -    && sed -i -e "s/\%ip\%\:\%proxy\_port\%\;/\%proxy\_port\%\;/g" /usr/local/vesta/data/templates/web/nginx/*.tpl \
  -    && sed -i -e "s/\%ip\%\:\%proxy\_ssl\_port\%\;/\%proxy\_ssl\_port\%\;/g" /usr/local/vesta/data/templates/web/nginx/*.stpl \
  -    && sed -i -e "s/\%ip\%\:\%proxy\_port\%\;/\%proxy\_port\%\;/g" /usr/local/vesta/data/templates/web/nginx/php-fpm/*.tpl \
  -    && sed -i -e "s/\%ip\%\:\%proxy\_ssl\_port\%\;/\%proxy\_ssl\_port\%\;/g" /usr/local/vesta/data/templates/web/nginx/php-fpm/*.stpl \
  -
  -    && bash /usr/local/vesta/upd/switch_rpath.sh \
  -
   # patch default website
       && cd "$(dirname "$(find /home/admin/web/* -type d -name public_html)")" \
       && sed -i -e "s/vestacp/nginx/g" public_html/index.html \
  
positive.code:     && chmod +x /etc/cron.hourly/vestacp-backup-etc \
      && chmod +x /etc/my_init.d/startup.sh \
  
  # mongodb stuff
  # 
      && mkdir -p /data/db \
  
negative.code:     && ln -sf /etc/php/7.1/mods-available/v8js.ini /etc/php/7.1/cli/conf.d/20-v8js.ini \
      && ln -sf /etc/php/7.1/mods-available/v8js.ini /etc/php/7.1/cgi/conf.d/20-v8js.ini \
  
  # fix docker nginx ips
      && sed -i -e "s/\%ip\%\:\%proxy\_port\%\;/\%proxy\_port\%\;/g" /usr/local/vesta/data/templates/web/nginx/*.tpl \
      && sed -i -e "s/\%ip\%\:\%proxy\_ssl\_port\%\;/\%proxy\_ssl\_port\%\;/g" /usr/local/vesta/data/templates/web/nginx/*.stpl \
      && sed -i -e "s/\%ip\%\:\%proxy\_port\%\;/\%proxy\_port\%\;/g" /usr/local/vesta/data/templates/web/nginx/php-fpm/*.tpl \
      && sed -i -e "s/\%ip\%\:\%proxy\_ssl\_port\%\;/\%proxy\_ssl\_port\%\;/g" /usr/local/vesta/data/templates/web/nginx/php-fpm/*.stpl \
      && bash /usr/local/vesta/upd/switch_rpath.sh \
  
      && service apache2 stop \
      && service mysql stop \
      && service postgresql stop \
  