diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-05-20 00:45:58 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-06-28 22:41:56 +0200 |
commit | f5a81daeeb16c6f64475f3a48b8ea5eb0ec84c9b (patch) | |
tree | 055fdfc7e03b9e6577f1f7fa833f7a29bb81ded2 /scripts/bugzilla_quantum | |
parent | 723767dc121db1047e1803998ddbbc6c343b1064 (diff) | |
download | bugzilla-f5a81daeeb16c6f64475f3a48b8ea5eb0ec84c9b.tar.gz bugzilla-f5a81daeeb16c6f64475f3a48b8ea5eb0ec84c9b.tar.xz |
run mojolicious daemon instead of httpd
Diffstat (limited to 'scripts/bugzilla_quantum')
-rwxr-xr-x | scripts/bugzilla_quantum | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/bugzilla_quantum b/scripts/bugzilla_quantum index 1112faabd..9069a2f05 100755 --- a/scripts/bugzilla_quantum +++ b/scripts/bugzilla_quantum @@ -4,14 +4,15 @@ use strict; use warnings; use File::Basename qw(basename dirname); -use File::Spec::Functions qw(catdir rel2abs); +use File::Spec::Functions qw(catdir); +use Cwd qw(realpath); BEGIN { require lib; - my $dir = rel2abs( catdir(dirname(__FILE__), '..') ); + my $dir = realpath( catdir(dirname(__FILE__), '..') ); lib->import( $dir, catdir( $dir, 'lib' ), catdir( $dir, qw(local lib perl5) ) ); } use Mojolicious::Commands; # Start command line interface for application -Mojolicious::Commands->start_app('Bugzilla::Quantum');
\ No newline at end of file +Mojolicious::Commands->start_app('Bugzilla::Quantum'); |