Commit 989b5c3c authored by anarcat's avatar anarcat Committed by anarcat

proper name of has_restart_cmd parameter for dns services

parent 2d2935e3
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
class provisionService_dns_bind extends provisionService_dns { class provisionService_dns_bind extends provisionService_dns {
protected $application_name = 'bind'; protected $application_name = 'bind';
protected $has_restart_command = TRUE; protected $has_restart_cmd = TRUE;
private $zone_cache = array(); private $zone_cache = array();
static function bind_default_restart_cmd() { static function bind_default_restart_cmd() {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
class provisionService_dns_dnsmasq extends provisionService_dns { class provisionService_dns_dnsmasq extends provisionService_dns {
protected $application_name = 'dnsmasq'; protected $application_name = 'dnsmasq';
protected $has_restart_command = TRUE; protected $has_restart_cmd = TRUE;
function default_restart_cmd() { function default_restart_cmd() {
return 'sudo /etc/init.d/dnsmasq restart'; return 'sudo /etc/init.d/dnsmasq restart';
......
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