Skip to content

Commit

Permalink
reload fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveorevo committed Jul 1, 2023
1 parent 9fe418c commit 4b63bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/pluginable.php
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ function str_starts_with($haystack, $needle) {
}

// Ensure we reload nginx to read our plugin configurations (req. by NodeApp, Collabora, etc.)
$hcpp->add_action( 'post_restart_proxy', function( $args ) {
$hcpp->add_action( 'post_restart_service', function( $args ) {
global $hcpp;
$cmd = '(sleep 5 && service nginx reload) > /dev/null 2>&1 &';
$cmd = $hcpp->do_action( 'hcpp_nginx_reload', $cmd );
Expand Down

0 comments on commit 4b63bc6

Please sign in to comment.