Lines 196-201
Directory for Zebra's data files.
Link Here
|
196 |
|
196 |
|
197 |
Directory for Zebra's UNIX-domain sockets. |
197 |
Directory for Zebra's UNIX-domain sockets. |
198 |
|
198 |
|
|
|
199 |
=item PLACK_LOCK_DIR |
200 |
|
201 |
Directory for Plack's lock files. |
202 |
|
203 |
=item PLACK_RUN_DIR |
204 |
|
205 |
Directory for Plack's UNIX-domain sockets. |
206 |
|
199 |
=item MISC_DIR |
207 |
=item MISC_DIR |
200 |
|
208 |
|
201 |
Directory for for miscellaenous scripts, among other |
209 |
Directory for for miscellaenous scripts, among other |
Lines 306-312
my $target_map = {
Link Here
|
306 |
'./skel' => 'NONE', |
314 |
'./skel' => 'NONE', |
307 |
'./skel/var/log/koha' => { target => 'LOG_DIR', trimdir => -1 }, |
315 |
'./skel/var/log/koha' => { target => 'LOG_DIR', trimdir => -1 }, |
308 |
'./skel/var/spool/koha' => { target => 'BACKUP_DIR', trimdir => -1 }, |
316 |
'./skel/var/spool/koha' => { target => 'BACKUP_DIR', trimdir => -1 }, |
309 |
'./skel/var/run/koha/plack' => { target => 'PLACK_RUN_DIR', trimdir => -1 }, |
317 |
'./skel/var/run/koha/plack' => { target => 'PLACK_RUN_DIR', trimdir => -1 }, |
|
|
318 |
'./skel/var/lock/koha/plack' => { target => 'PLACK_LOCK_DIR', trimdir => 6 }, |
310 |
'./skel/var/run/koha/zebradb' => { target => 'ZEBRA_RUN_DIR', trimdir => -1 }, |
319 |
'./skel/var/run/koha/zebradb' => { target => 'ZEBRA_RUN_DIR', trimdir => -1 }, |
311 |
'./skel/var/lock/koha/zebradb/authorities' => { target => 'ZEBRA_LOCK_DIR', trimdir => 6 }, |
320 |
'./skel/var/lock/koha/zebradb/authorities' => { target => 'ZEBRA_LOCK_DIR', trimdir => 6 }, |
312 |
'./skel/var/lib/koha/zebradb/authorities/key' => { target => 'ZEBRA_DATA_DIR', trimdir => 6 }, |
321 |
'./skel/var/lib/koha/zebradb/authorities/key' => { target => 'ZEBRA_DATA_DIR', trimdir => 6 }, |
Lines 591-596
my %test_suite_override_dirs = (
Link Here
|
591 |
ZEBRA_LOCK_DIR => ['var', 'lock', 'zebradb'], |
600 |
ZEBRA_LOCK_DIR => ['var', 'lock', 'zebradb'], |
592 |
ZEBRA_DATA_DIR => ['var', 'lib', 'zebradb'], |
601 |
ZEBRA_DATA_DIR => ['var', 'lib', 'zebradb'], |
593 |
ZEBRA_RUN_DIR => ['var', 'run', 'zebradb'], |
602 |
ZEBRA_RUN_DIR => ['var', 'run', 'zebradb'], |
|
|
603 |
PLACK_LOCK_DIR => ['var', 'lock', 'plack'], |
594 |
PLACK_RUN_DIR => ['var', 'run', 'plack'], |
604 |
PLACK_RUN_DIR => ['var', 'run', 'plack'], |
595 |
); |
605 |
); |
596 |
|
606 |
|
Lines 1298-1303
sub get_target_directories {
Link Here
|
1298 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'koha', 'plugins'); |
1308 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'koha', 'plugins'); |
1299 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1309 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1300 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
1310 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
|
|
1311 |
$dirmap{'PLACK_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'plack'); |
1301 |
$dirmap{'PLACK_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'plack'); |
1312 |
$dirmap{'PLACK_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'plack'); |
1302 |
} elsif ($mode eq 'dev') { |
1313 |
} elsif ($mode eq 'dev') { |
1303 |
my $curdir = File::Spec->rel2abs(File::Spec->curdir()); |
1314 |
my $curdir = File::Spec->rel2abs(File::Spec->curdir()); |
Lines 1329-1334
sub get_target_directories {
Link Here
|
1329 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1340 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1330 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'plugins'); |
1341 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'plugins'); |
1331 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1342 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
|
|
1343 |
$dirmap{'PLACK_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'plack'); |
1332 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
1344 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
1333 |
$dirmap{'PLACK_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'plack'); |
1345 |
$dirmap{'PLACK_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'plack'); |
1334 |
} else { |
1346 |
} else { |
Lines 1354-1359
sub get_target_directories {
Link Here
|
1354 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'plugins'); |
1366 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'plugins'); |
1355 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'zebradb'); |
1367 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'zebradb'); |
1356 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'run', $package, 'zebradb'); |
1368 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'run', $package, 'zebradb'); |
|
|
1369 |
$dirmap{'PLACK_LOCK_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lock', $package, 'plack'); |
1357 |
$dirmap{'PLACK_RUN_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'run', $package, 'plack'); |
1370 |
$dirmap{'PLACK_RUN_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'run', $package, 'plack'); |
1358 |
} |
1371 |
} |
1359 |
|
1372 |
|