Skip to content
Permalink
Browse files

put the logrotate file into the correct location inside the wre.

  • Loading branch information...
perlDreamer committed Jan 6, 2012
1 parent fec7f79 commit df1d7e5fbd30411725a70b5426df657382e39613
Showing with 3 additions and 1 deletion.
  1. +3 −1 wre/sbin/wresetup.pl
@@ -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"),
@@ -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";

0 comments on commit df1d7e5

Please sign in to comment.
You can’t perform that action at this time.