Project

General

Profile

Actions

Bug #3164

closed

Varnish:XMLRPC Sync, start everytime without be needed

Added by Valentin Georgiev almost 12 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
08/27/2013
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

(Automatically sync Varnish configuration changes) is not checked.
in the logs see other

php: config.inc: [varnish] varnish_xmlrpc_sync.php is starting.

that becouse its not have a check for that and runs everytime

/usr/local/etc/rc.d/varnish.sh:

/usr/local/bin/php -q -d auto_prepend_file=config.inc <<ENDOFF
<?php
        require_once("globals.inc");
        require_once("functions.inc");
        require_once("pkg-utils.inc");
        require_once("varnish.inc");
        sync_package_varnish();
        #varnish_start();

?>
ENDOFF

Actions #1

Updated by Renato Botelho over 11 years ago

  • Description updated (diff)
  • Status changed from New to Rejected

The log says the function has started, it doesn't mean it's running. Inside the function there is a check, and when the option "Automatically sync Varnish configuration changes" is not set the function aborts before start to sync.

Actions

Also available in: Atom PDF