Name

RunDir — specify directory containing runtime files

SYNOPSIS

directory_name

DESCRIPTION

Specify the directory containing "runtime" information.

This directory is similar to /var/run/ in the Unix filesystem. Examples of files that you will encounter in there are the global .structure file (see DumpStructure), .pid and mode. files and Interchange cronjob files (see Jobs).

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive,
Catalog directive

EXAMPLES

Example: Creating directory structure similar to a Linux filesystem

RunDir var/run

NOTES

AVAILABILITY

RunDir is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 393

['RunDir',       'root_dir',        $Global::RunDir || 'etc'],

Source: lib/Vend/Config.pm
Line 3925 (context shows lines 3925-3932)

sub parse_root_dir {
my($var, $value) = @_;
return '' unless $value;
$value = "$Global::VendRoot/$value"
  unless file_name_is_absolute($value);
$value =~ s./+$..;
return $value;
}

Source: lib/Vend/Config.pm
Line 549

['RunDir',           'relative_dir',   ''],

Source: lib/Vend/Config.pm
Line 3975 (context shows lines 3975-3989)

sub parse_relative_dir {
my($var, $value) = @_;

if (absolute_or_relative($value)) {
  config_error('Path %s not allowed in %s directive',
          $value, $var);
}

$C->{Source}{$var} = $value;

$value = "$C->{VendRoot}/$value"
  unless file_name_is_absolute($value);
$value =~ s./+$..;
$value;
}

AUTHORS

Interchange Development Group

SEE ALSO

ProductDir(7ic), TagDir(7ic), ScratchDir(7ic), PageDir(7ic), HouseKeepingCron(7ic)

DocBook! Interchange!