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 298-304
my $target_map = {
Link Here
|
298 |
'./skel' => 'NONE', |
306 |
'./skel' => 'NONE', |
299 |
'./skel/var/log/koha' => { target => 'LOG_DIR', trimdir => -1 }, |
307 |
'./skel/var/log/koha' => { target => 'LOG_DIR', trimdir => -1 }, |
300 |
'./skel/var/spool/koha' => { target => 'BACKUP_DIR', trimdir => -1 }, |
308 |
'./skel/var/spool/koha' => { target => 'BACKUP_DIR', trimdir => -1 }, |
301 |
'./skel/var/run/koha/plack' => { target => 'PLACK_RUN_DIR', trimdir => -1 }, |
309 |
'./skel/var/run/koha/plack' => { target => 'PLACK_RUN_DIR', trimdir => -1 }, |
|
|
310 |
'./skel/var/lock/koha/plack' => { target => 'PLACK_LOCK_DIR', trimdir => 6 }, |
302 |
'./skel/var/run/koha/zebradb' => { target => 'ZEBRA_RUN_DIR', trimdir => -1 }, |
311 |
'./skel/var/run/koha/zebradb' => { target => 'ZEBRA_RUN_DIR', trimdir => -1 }, |
303 |
'./skel/var/lock/koha/zebradb/authorities' => { target => 'ZEBRA_LOCK_DIR', trimdir => 6 }, |
312 |
'./skel/var/lock/koha/zebradb/authorities' => { target => 'ZEBRA_LOCK_DIR', trimdir => 6 }, |
304 |
'./skel/var/lib/koha/zebradb/authorities/key' => { target => 'ZEBRA_DATA_DIR', trimdir => 6 }, |
313 |
'./skel/var/lib/koha/zebradb/authorities/key' => { target => 'ZEBRA_DATA_DIR', trimdir => 6 }, |
Lines 583-588
my %test_suite_override_dirs = (
Link Here
|
583 |
ZEBRA_LOCK_DIR => ['var', 'lock', 'zebradb'], |
592 |
ZEBRA_LOCK_DIR => ['var', 'lock', 'zebradb'], |
584 |
ZEBRA_DATA_DIR => ['var', 'lib', 'zebradb'], |
593 |
ZEBRA_DATA_DIR => ['var', 'lib', 'zebradb'], |
585 |
ZEBRA_RUN_DIR => ['var', 'run', 'zebradb'], |
594 |
ZEBRA_RUN_DIR => ['var', 'run', 'zebradb'], |
|
|
595 |
PLACK_LOCK_DIR => ['var', 'lock', 'plack'], |
586 |
PLACK_RUN_DIR => ['var', 'run', 'plack'], |
596 |
PLACK_RUN_DIR => ['var', 'run', 'plack'], |
587 |
); |
597 |
); |
588 |
|
598 |
|
Lines 1289-1294
sub get_target_directories {
Link Here
|
1289 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1299 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1290 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1300 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1291 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
1301 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
|
|
1302 |
$dirmap{'PLACK_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'plack'); |
1292 |
$dirmap{'PLACK_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'plack'); |
1303 |
$dirmap{'PLACK_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'plack'); |
1293 |
} elsif ($mode eq 'dev') { |
1304 |
} elsif ($mode eq 'dev') { |
1294 |
my $curdir = File::Spec->rel2abs(File::Spec->curdir()); |
1305 |
my $curdir = File::Spec->rel2abs(File::Spec->curdir()); |
Lines 1320-1325
sub get_target_directories {
Link Here
|
1320 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1331 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1321 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1332 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1322 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
1333 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
|
|
1334 |
$dirmap{'PLACK_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'plack'); |
1323 |
$dirmap{'PLACK_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'plack'); |
1335 |
$dirmap{'PLACK_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'plack'); |
1324 |
} else { |
1336 |
} else { |
1325 |
# mode is standard, i.e., 'fhs' |
1337 |
# mode is standard, i.e., 'fhs' |
Lines 1343-1348
sub get_target_directories {
Link Here
|
1343 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'spool', $package); |
1355 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'spool', $package); |
1344 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'zebradb'); |
1356 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'zebradb'); |
1345 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'run', $package, 'zebradb'); |
1357 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'run', $package, 'zebradb'); |
|
|
1358 |
$dirmap{'PLACK_LOCK_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lock', $package, 'plack'); |
1346 |
$dirmap{'PLACK_RUN_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'run', $package, 'plack'); |
1359 |
$dirmap{'PLACK_RUN_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'run', $package, 'plack'); |
1347 |
} |
1360 |
} |
1348 |
|
1361 |
|