Lines 226-231
command-line, e.g., READMEs.
Link Here
|
226 |
|
226 |
|
227 |
Directory for Apache and Zebra logs produced by Koha. |
227 |
Directory for Apache and Zebra logs produced by Koha. |
228 |
|
228 |
|
|
|
229 |
=item BACKUP_DIR |
230 |
|
231 |
Directory for backup files produced by Koha. |
232 |
|
229 |
=item PAZPAR2_CONF_DIR |
233 |
=item PAZPAR2_CONF_DIR |
230 |
|
234 |
|
231 |
Directory for PazPar2 configuration files. |
235 |
Directory for PazPar2 configuration files. |
Lines 293-298
my $target_map = {
Link Here
|
293 |
'./services' => 'INTRANET_CGI_DIR', |
297 |
'./services' => 'INTRANET_CGI_DIR', |
294 |
'./skel' => 'NONE', |
298 |
'./skel' => 'NONE', |
295 |
'./skel/var/log/koha' => { target => 'LOG_DIR', trimdir => -1 }, |
299 |
'./skel/var/log/koha' => { target => 'LOG_DIR', trimdir => -1 }, |
|
|
300 |
'./skel/var/spool/koha' => { target => 'BACKUP_DIR', trimdir => -1 }, |
296 |
'./skel/var/run/koha/zebradb' => { target => 'ZEBRA_RUN_DIR', trimdir => -1 }, |
301 |
'./skel/var/run/koha/zebradb' => { target => 'ZEBRA_RUN_DIR', trimdir => -1 }, |
297 |
'./skel/var/lock/koha/zebradb/authorities' => { target => 'ZEBRA_LOCK_DIR', trimdir => 6 }, |
302 |
'./skel/var/lock/koha/zebradb/authorities' => { target => 'ZEBRA_LOCK_DIR', trimdir => 6 }, |
298 |
'./skel/var/lib/koha/zebradb/authorities/key' => { target => 'ZEBRA_DATA_DIR', trimdir => 6 }, |
303 |
'./skel/var/lib/koha/zebradb/authorities/key' => { target => 'ZEBRA_DATA_DIR', trimdir => 6 }, |
Lines 548-553
my %test_suite_override_dirs = (
Link Here
|
548 |
KOHA_CONF_DIR => ['etc'], |
553 |
KOHA_CONF_DIR => ['etc'], |
549 |
ZEBRA_CONF_DIR => ['etc', 'zebradb'], |
554 |
ZEBRA_CONF_DIR => ['etc', 'zebradb'], |
550 |
LOG_DIR => ['var', 'log'], |
555 |
LOG_DIR => ['var', 'log'], |
|
|
556 |
BACKUP_DIR => ['var', 'spool'], |
551 |
SCRIPT_DIR => ['bin'], |
557 |
SCRIPT_DIR => ['bin'], |
552 |
ZEBRA_LOCK_DIR => ['var', 'lock', 'zebradb'], |
558 |
ZEBRA_LOCK_DIR => ['var', 'lock', 'zebradb'], |
553 |
ZEBRA_DATA_DIR => ['var', 'lib', 'zebradb'], |
559 |
ZEBRA_DATA_DIR => ['var', 'lib', 'zebradb'], |
Lines 1227-1232
sub get_target_directories {
Link Here
|
1227 |
$dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc'); |
1233 |
$dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc'); |
1228 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb'); |
1234 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb'); |
1229 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'log'); |
1235 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'log'); |
|
|
1236 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1230 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1237 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1231 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
1238 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
1232 |
} elsif ($mode eq 'dev') { |
1239 |
} elsif ($mode eq 'dev') { |
Lines 1256-1261
sub get_target_directories {
Link Here
|
1256 |
$dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc'); |
1263 |
$dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc'); |
1257 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb'); |
1264 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb'); |
1258 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'log'); |
1265 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'log'); |
|
|
1266 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1259 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1267 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1260 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
1268 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
1261 |
} else { |
1269 |
} else { |
Lines 1277-1282
sub get_target_directories {
Link Here
|
1277 |
$dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc'); |
1285 |
$dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc'); |
1278 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lock', $package, 'zebradb'); |
1286 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lock', $package, 'zebradb'); |
1279 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'log', $package); |
1287 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'log', $package); |
|
|
1288 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'spool', $package); |
1280 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'zebradb'); |
1289 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'zebradb'); |
1281 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'run', $package, 'zebradb'); |
1290 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'run', $package, 'zebradb'); |
1282 |
} |
1291 |
} |