[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/pkg/bin/ -> stopvTiger.sh (source)

   1  #*********************************************************************************
   2  # The contents of this file are subject to the vtiger CRM Public License Version 1.0
   3  # ("License"); You may not use this file except in compliance with the License
   4  # The Original Code is:  vtiger CRM Open Source
   5  # The Initial Developer of the Original Code is vtiger.
   6  # Portions created by vtiger are Copyright (C) vtiger.
   7  # All Rights Reserved.
   8  #
   9  # ********************************************************************************
  10  
  11  cd ..
  12  export VTIGER_HOME=`pwd`
  13  
  14  mysql_dir='MYSQLINSTALLDIR'
  15  mysql_username='MYSQLUSERNAME'
  16  mysql_password='MYSQLPASSWORD'
  17  mysql_port=MYSQLPORT
  18  mysql_socket='MYSQLSOCKET'
  19  mysql_bundled='MYSQLBUNDLEDSTATUS'
  20  apache_dir='APACHEINSTALLDIR'
  21  apache_bin='APACHEBIN'
  22  apache_conf='APACHECONF'
  23  apache_port='APACHEPORT'
  24  apache_bundled='APACHEBUNDLED'
  25  
  26  if [ $apache_bundled == 'true' ];then
  27      cd $apache_bin
  28      echo "Shutting down apache !"
  29      ./httpd -k stop
  30  fi
  31  
  32  
  33  if [ $mysql_bundled == 'true' ]; then
  34      MYSQL_HOME=$mysql_dir
  35      export MYSQL_HOME
  36      cd $MYSQL_HOME
  37      echo `pwd`
  38      echo "Shutting down the mysql server"
  39      ./bin/mysqladmin --user=$mysql_username --password=$mysql_password --port=$mysql_port --socket=$mysql_socket shutdown
  40      echo "MySQL shutdown"
  41  fi
  42  
  43  cd $VTIGER_HOME


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7