Skip to content

Commit 019d049

Browse files
committed
delay
1 parent b193cec commit 019d049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodeapp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function pre_delete_web_domain_backend( $args ) {
144144
*/
145145
public function post_restart_proxy() {
146146
global $hcpp;
147-
$cmd = 'service nginx reload';
147+
$cmd = '(sleep 5 && service nginx reload) > /dev/null 2>&1 &';
148148
$hcpp->log( $cmd );
149149
shell_exec( $cmd );
150150
}

0 commit comments

Comments
 (0)