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

Edge for Private Cloud 4.19.01 版

如要啟動、停止或重新啟動 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