We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a490da commit c47c592Copy full SHA for c47c592
wre/sbin/wresetup.pl
@@ -57,6 +57,13 @@
57
{ force => 1 });
58
$file->changeOwner($config->getWebguiRoot("/etc"));
59
60
+if ($config->get('demo/enabled') {
61
+ say "Setting up demo server";
62
+ $file->copy($config->getRoot("/var/setupfiles/demo.nginx"),
63
+ $config->getRoot("/etc/demo.nginx"),
64
+ { force => 1, processTemplate => 1, });
65
+}
66
+
67
say "Setting up WebGUI logging";
68
eval {
69
open my $in, '<', $config->getWebguiRoot("/etc/log.conf.original")
0 commit comments