We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2c8642 commit ffce558Copy full SHA for ffce558
ghost.php
@@ -166,7 +166,7 @@ public function setup( $args ) {
166
}
167
168
// Restart the ghost service to reflect DB changes
169
- $cmd = 'runuser -s /bin/bash -l ' . $user . ' -c "sleep 8 && export NVM_DIR=/opt/nvm && source /opt/nvm/nvm.sh ; pm2 restart ghost-' . $domain . ' > /dev/null 2>&1 &"';
+ $cmd = 'runuser -s /bin/bash -l ' . $user . ' -c "sleep 8 && touch ' . $ghost_folder . '/.restart/restart"';
170
$hcpp->log( $cmd );
171
shell_exec( $cmd );
172
nodeapp/restart/restart renamed to nodeapp/.restart/restart
0 commit comments