Commit ec4dd5b9 authored by ClanPartner (Alex)'s avatar ClanPartner (Alex)
Browse files

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

DNSSEC-Cronjob should only run on ispconfig master as we are working with datalog and not accessing things directly
parent ec1ea49b
......@@ -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");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment