This commit is contained in:
Luc Didry
2017-06-12 21:23:53 +02:00
parent 75b645e6d4
commit 88b77f91fb
7 changed files with 72 additions and 25 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ sub startup {
# Minion
if ($config->{minion}->{enabled}) {
$self->config('minion')->{dbtype} = 'sqlite' unless defined $config->{minion}->{dbtype};
$self->config->{minion}->{dbtype} = 'sqlite' unless defined $config->{minion}->{dbtype};
if ($config->{minion}->{dbtype} eq 'sqlite') {
$self->config('minion')->{db_path} = 'minion.db' unless defined $config->{minion}->{db_path};
$self->plugin('Minion' => { SQLite => 'sqlite:'.$config->{minion}->{db_path} });