Skip to content
Permalink
Browse files

Add demo server setup to wresetup.pl

  • Loading branch information...
perlDreamer committed Feb 8, 2012
1 parent 9a490da commit c47c59280838f5ec9269dece7e955555a2a7cfe6
Showing with 7 additions and 0 deletions.
  1. +7 −0 wre/sbin/wresetup.pl
@@ -57,6 +57,13 @@
{ force => 1 });
$file->changeOwner($config->getWebguiRoot("/etc"));

if ($config->get('demo/enabled') {
say "Setting up demo server";
$file->copy($config->getRoot("/var/setupfiles/demo.nginx"),
$config->getRoot("/etc/demo.nginx"),
{ force => 1, processTemplate => 1, });
}

say "Setting up WebGUI logging";
eval {
open my $in, '<', $config->getWebguiRoot("/etc/log.conf.original")

0 comments on commit c47c592

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