summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-06-19 10:29:42 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-06-19 10:29:42 +0200
commita513d5dfe0e41eca3eb561d346bda487bc478674 (patch)
tree74b38c2ffa57678a92f34f95237ebe63e7f1417f /config
parentffad94583f16953baa5787cbab911ddd8b636d87 (diff)
VESPA_HOME no longer ends in /
Diffstat (limited to 'config')
-rwxr-xr-xconfig/src/apps/vespa-config/vespa-config.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/config/src/apps/vespa-config/vespa-config.pl b/config/src/apps/vespa-config/vespa-config.pl
index 41a73ad913f..cc0daed3e7d 100755
--- a/config/src/apps/vespa-config/vespa-config.pl
+++ b/config/src/apps/vespa-config/vespa-config.pl
@@ -76,7 +76,7 @@ my $default_configproxy_port = "19090";
my $default_configserver_port = "19070";
my $zk_client_port;
-my $base_cfg_dir = $VESPA_HOME . "conf/vespa";
+my $base_cfg_dir = $VESPA_HOME . "/conf/vespa";
# Set this to 1 to look up values (see getValue) in config files instead
# of in environment variables
@@ -239,7 +239,7 @@ sub printConfigHttpSources {
}
sub makeFiledistributorZKConfig {
- my $cfgFile = $VESPA_HOME . "conf/filedistributor/zookeepers.cfg";
+ my $cfgFile = $VESPA_HOME . "/conf/filedistributor/zookeepers.cfg";
open(CFG, "> ${cfgFile}.new") or die "Cannot write to '${cfgFile}.new'";
my $zkservers = getZKString();
print CFG "zookeeperserverlist \"$zkservers\"\n";
@@ -250,13 +250,13 @@ sub makeFiledistributorZKConfig {
}
sub makeFiledistributorDistributorConfig {
- my $cfgFile = $VESPA_HOME . "conf/filedistributor/filedistributor.cfg";
+ my $cfgFile = $VESPA_HOME . "/conf/filedistributor/filedistributor.cfg";
open(CFG, "> ${cfgFile}.new") or die "Cannot write to '${cfgFile}.new'";
print CFG "torrentport 19093\n";
my $hostname = `hostname`;
chomp $hostname;
print CFG "hostname \"$hostname\"\n";
- print CFG "filedbpath \"$VESPA_HOME" . "var/db/vespa/filedistribution\"\n";
+ print CFG "filedbpath \"$VESPA_HOME" . "/var/db/vespa/filedistribution\"\n";
print CFG "maxdownloadspeed 0\n";
print CFG "maxuploadspeed 0\n";
close(CFG);
@@ -266,7 +266,7 @@ sub makeFiledistributorDistributorConfig {
}
sub makeFiledistributorRpcConfig {
- my $cfgFile = $VESPA_HOME . "conf/filedistributor/filedistributorrpc.cfg";
+ my $cfgFile = $VESPA_HOME . "/conf/filedistributor/filedistributorrpc.cfg";
open(CFG, "> ${cfgFile}.new") or die "Cannot write to '${cfgFile}.new'";
my $hostname = `hostname`;
chomp $hostname;
@@ -278,7 +278,7 @@ sub makeFiledistributorRpcConfig {
}
sub makeFiledistributorReferencesConfig {
- my $cfgFile = $VESPA_HOME . "conf/filedistributor/filereferences.cfg";
+ my $cfgFile = $VESPA_HOME . "/conf/filedistributor/filereferences.cfg";
open(CFG, "> ${cfgFile}.new") or die "Cannot write to '${cfgFile}.new'";
close(CFG);
rename("${cfgFile}.new", ${cfgFile})