diff options
Diffstat (limited to 'lib/App/Acmeman/Apache/Layout/rh.pm')
-rw-r--r-- | lib/App/Acmeman/Apache/Layout/rh.pm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/App/Acmeman/Apache/Layout/rh.pm b/lib/App/Acmeman/Apache/Layout/rh.pm new file mode 100644 index 0000000..9adea70 --- /dev/null +++ b/lib/App/Acmeman/Apache/Layout/rh.pm @@ -0,0 +1,21 @@ +package App::Acmeman::Apache::Layout::rh; +use strict; +use warnings; +use Carp; +use parent 'App::Acmeman::Apache::Layout'; + +our $PRIORITY = 30; + +sub new { + my $class = shift; + my $ap = shift; + + if ($ap->server_config eq '/etc/httpd/conf/httpd.conf') { + return $class->SUPER::new($ap, + incdir => '/etc/httpd/conf.d', + restart_command => '/usr/sbin/service httpd restart' + ); + } +} + +1; |