Skip to content

Commit df1d7e5

Browse files
committedJan 6, 2012
put the logrotate file into the correct location inside the wre.
1 parent fec7f79 commit df1d7e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎wre/sbin/wresetup.pl

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
$file->makePath($config->getDomainRoot("/demo"));
3939
$file->copy($config->getRoot("/var/setupfiles/demo.nginx"), $config->getRoot("/etc/demo.nginx"),
4040
{ force => 1, templateVars=>{ sitename=>$config->get("demo/hostname") } });
41+
4142
say "Setting up nginx main config";
4243
$file->copy($config->getRoot("/var/setupfiles/nginx.conf"),
4344
$config->getRoot("/etc/nginx.conf"),
@@ -50,9 +51,10 @@
5051
$file->copy($config->getRoot("/var/setupfiles/mime.types"),
5152
$config->getRoot("/etc/mime.types"),
5253
{ force => 1 });
54+
5355
say "Setting up logrotate file";
5456
$file->copy($config->getRoot("/var/setupfiles/wre.logrotate"),
55-
$config->getRoot("/var/wre.logrotate"),
57+
$config->getRoot("/etc/wre.logrotate"),
5658
{ force => 1 });
5759

5860
say "Setting up Spectre config";

0 commit comments

Comments
 (0)
Please sign in to comment.