fixed cron issues
This commit is contained in:
parent
3e591eee9c
commit
c9757ead13
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"name": "24unix/bindapi",
|
||||
"description": "manage Bind9 DNS server via REST API",
|
||||
"version": "1.0.7",
|
||||
"build_number": "352",
|
||||
"version": "1.0.8",
|
||||
"build_number": "353",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Micha Espey",
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
Description=BindAPI Service to check zone file and reload configuration
|
||||
|
||||
[Service]
|
||||
ExecStart=/home/users/<user>/<bindApi>/bin/console cron:run -q
|
||||
ExecStart=/home/users/<user>/<bindApi>/bin/console -q cron:run
|
||||
|
|
|
@ -103,9 +103,11 @@ class DomainController
|
|||
}
|
||||
}
|
||||
} else {
|
||||
if (!$this->quiet) {
|
||||
echo COLOR_DEFAULT . 'We are master for ' . COLOR_YELLOW . $domain->getName() . PHP_EOL;
|
||||
}
|
||||
}
|
||||
}
|
||||
// remove stale zones
|
||||
foreach ($existingZones as $zone) {
|
||||
if (!$this->quiet) {
|
||||
|
|
Loading…
Reference in New Issue