Skip to content

Commit

Permalink
put the logrotate file into the correct location inside the wre.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Jan 6, 2012
1 parent fec7f79 commit df1d7e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wre/sbin/wresetup.pl
Expand Up @@ -38,6 +38,7 @@
$file->makePath($config->getDomainRoot("/demo"));
$file->copy($config->getRoot("/var/setupfiles/demo.nginx"), $config->getRoot("/etc/demo.nginx"),
{ force => 1, templateVars=>{ sitename=>$config->get("demo/hostname") } });

say "Setting up nginx main config";
$file->copy($config->getRoot("/var/setupfiles/nginx.conf"),
$config->getRoot("/etc/nginx.conf"),
Expand All @@ -50,9 +51,10 @@
$file->copy($config->getRoot("/var/setupfiles/mime.types"),
$config->getRoot("/etc/mime.types"),
{ force => 1 });

say "Setting up logrotate file";
$file->copy($config->getRoot("/var/setupfiles/wre.logrotate"),
$config->getRoot("/var/wre.logrotate"),
$config->getRoot("/etc/wre.logrotate"),
{ force => 1 });

say "Setting up Spectre config";
Expand Down

0 comments on commit df1d7e5

Please sign in to comment.