Skip to content

Commit

Permalink
permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveorevo committed Dec 6, 2023
1 parent 549a6c2 commit dbb9952
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nodeapp.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public function priv_change_web_domain_proxy_tpl( $args ) {
];
$args = $hcpp->do_action( 'nodeapp_copy_files', $args );
$nodeapp_folder = $args['nodeapp_folder'];
shell_exec( "chmod 751 " . escapeshellarg( $nodeapp_folder ) );

// Install dependencies
$cmd = 'runuser -s /bin/bash -l ' . $user . ' -c "cd \"' . $nodeapp_folder . '\" && export NVM_DIR=/opt/nvm && source /opt/nvm/nvm.sh && npm install"';
Expand Down

0 comments on commit dbb9952

Please sign in to comment.