From 4ee42f20682d8c3361dc1fc124797b70768be05c Mon Sep 17 00:00:00 2001 From: Abhijit Rakas Date: Thu, 3 Jan 2019 18:28:17 +0530 Subject: [PATCH] Load nginx container for html site on ee shell command --- src/Shell_Command.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Shell_Command.php b/src/Shell_Command.php index bea6d4f..eeba46f 100644 --- a/src/Shell_Command.php +++ b/src/Shell_Command.php @@ -69,6 +69,10 @@ public function __invoke( $args, $assoc_args ) { chdir( $site->site_fs_path ); + if ( 'html' === $site->site_type && 'php' === $service ) { + $service = 'nginx'; + } + $this->check_shell_available( $service, $site ); } else {