| 1 | package App::Acmeman::Apache::Layout::rh; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use Carp; | ||
| 5 | use parent 'App::Acmeman::Apache::Layout'; | ||
| 6 | |||
| 7 | our $PRIORITY = 30; | ||
| 8 | |||
| 9 | sub new { | ||
| 10 | my $class = shift; | ||
| 11 | my $ap = shift; | ||
| 12 | |||
| 13 | if ($ap->server_config eq '/etc/httpd/conf/httpd.conf') { | ||
| 14 | return $class->SUPER::new($ap, | ||
| 15 | incdir => '/etc/httpd/conf.d', | ||
| 16 | restart_command => '/usr/sbin/service httpd restart' | ||
| 17 | ); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | 1; |