aboutsummaryrefslogtreecommitdiff
path: root/lib/App/Acmeman/Apache/Layout/rh.pm
blob: 9adea700a1bb3a78a826d4b17c515c2d4d6501f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;

Return to:

Send suggestions and report system problems to the System administrator.