開始、停止或重新啟動入口網站

如要啟動、停止或重新啟動 Apigee Developer Services 入口網站 (或簡稱「入口網站」) 元件,請使用 apigee-service 指令:

/opt/apigee/apigee-service/bin/apigee-service component_name [ stop | start | restart ]

其中 component_name 可以是下列任一值:

  • apigee-drupal-devportal
  • apigee-drupal-contrib
  • apigee-drupal
  • apigee-drush
  • apigee-php

以下指令碼會偵測在執行指令碼的系統上執行的 Apigee 元件,且只會啟動或停止以正確順序執行該節點。

  • 如要停止所有 Apigee 元件:
    /opt/apigee/apigee-service/bin/apigee-all stop
  • 如何啟動所有 Apigee 元件:
    /opt/apigee/apigee-service/bin/apigee-all start
  • 如要查看正在執行的元件:
    /opt/apigee/apigee-service/bin/apigee-all status