projects
/
gruntmaster-daemon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6101c7a
)
Use dbinit instead of Gruntmaster::Data::init
author
Marius Gavrilescu
<marius@ieval.ro>
Mon, 28 Sep 2015 10:48:55 +0000
(13:48 +0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Mon, 28 Sep 2015 10:49:55 +0000
(13:49 +0300)
lib/Gruntmaster/Daemon.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Daemon.pm
b/lib/Gruntmaster/Daemon.pm
index cc4a1290c27caa25fe618f04281ff3c4a292bded..e96690ef4da04816dbd51b3af2db21ab697deccb 100644
(file)
--- a/
lib/Gruntmaster/Daemon.pm
+++ b/
lib/Gruntmaster/Daemon.pm
@@
-153,7
+153,7
@@
my $daemon = hostname . ":$$";
sub run{
require Gruntmaster::Data;
Gruntmaster::Data->import;
-
Gruntmaster::Data::
init($ENV{GRUNTMASTER_DSN} // 'dbi:Pg:');
+
db
init($ENV{GRUNTMASTER_DSN} // 'dbi:Pg:');
Log::Log4perl->init('/etc/gruntmasterd/gruntmasterd-log.conf');
get_logger->info("gruntmasterd $VERSION started ($daemon)");
my $dir = tempdir 'gruntmasterd.XXXX', CLEANUP => 1, TMPDIR => 1;
This page took
0.011269 seconds
and
4
git commands to generate.