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 {