Skip to content
Snippets Groups Projects
Commit d3279075 authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'dnssec-cron-slaveblock' into 'stable-3.1'

DNSSEC-Cronjob should only run on ispconfig master as we are working with datalo…

…g and not accessing things directly

@tbrehm, am I right that `$app->db->datalogUpdate`for a soa on the ispc master does also update the dns_soa table in master database or do I have to do this by hand?
This could probably be a reason for the issue of @jnorell in #1491 ...

See merge request !446
parents 6c9ed8a7 ec4dd5b9
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
DNSSEC-Implementation by Alexander Täffner aka dark alex
DNSSEC-Implementation by Alexander Täffner aka dark alex
*/
class cronjob_bind_dnssec extends cronjob {
......@@ -59,6 +59,9 @@ class cronjob_bind_dnssec extends cronjob {
public function onRunJob() {
global $app, $conf;
//* job should only run on ispc master
if($app->db->dbHost != $app->dbmaster->dbHost) return;
//* Load libraries
$app->uses("getconf,tpl");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment