Continue monitoring lib and templates dir

When running under morbo
master
Daniel Berteaud 10 years ago
parent 1566a6b80b
commit c1d1aaf58b
  1. 7
      scripts/start_server.pl

@ -19,7 +19,12 @@ $config->{'daemon.backend'} ||= 'hypnotoad';
$ENV{'PERL5LIB'} = 'lib';
if ($config->{'daemon.backend'} eq 'morbo'){
exec ('/usr/bin/morbo', '-l', 'http://' . $config->{'daemon.listen_ip'} . ':' . $config->{'daemon.listen_port'}, '-w', 'conf/settings.ini', '-v', 'vroom.pl');
exec ('/usr/bin/morbo',
'-l', 'http://' . $config->{'daemon.listen_ip'} . ':' . $config->{'daemon.listen_port'},
'-w', 'conf/settings.ini',
'-w', 'lib',
'-w', 'templates',
'-v', 'vroom.pl');
}
else{
exec ('/usr/bin/hypnotoad', '-f', 'vroom.pl');

Loading…
Cancel
Save