Commit fb676d06 authored by anarcat's avatar anarcat Committed by anarcat

define proper service declarations for DNS and Bind classes

parent ec9d4458
......@@ -6,8 +6,8 @@
* A lot of this is inspired by the Apache implementation of the HTTP service.
*/
class provisionService_dns_bind extends provisionService_dns {
public $has_restart_command = TRUE;
protected $application_name = 'bind';
protected $has_restart_command = TRUE;
static function bind_default_restart_cmd() {
return "/etc/init.d/named restart";
......
......@@ -59,6 +59,8 @@ function dns_provision_services() {
}
class provisionService_dns extends provisionService {
public $service = 'dns';
static function option_documentation() {
return array(
......
Markdown is supported
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