summaryrefslogtreecommitdiffstats
path: root/node-admin
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-06-28 12:09:42 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-06-28 12:25:21 +0200
commitf52a4c5038a0586763d130cde5beab377d4ecf5f (patch)
tree12ee83112378837bb6e8a1f7a0a18d28874018e6 /node-admin
parentb7cd71c9a269e3acc96503f929bcf1257431615f (diff)
use underVespaHome
Diffstat (limited to 'node-admin')
-rw-r--r--node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java
index 32c35d4aedc..0c71779dceb 100644
--- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java
+++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/StorageMaintainer.java
@@ -80,7 +80,7 @@ public class StorageMaintainer {
SecretAgentScheduleMaker vespaSchedule = new SecretAgentScheduleMaker("vespa", 60, vespaCheckPath, "all")
.withTag("parentHostname", environment.getParentHostHostname());
- Path hostLifeCheckPath = Paths.get("/home/y/libexec/yms/yms_check_host_life");
+ Path hostLifeCheckPath = Paths.get(getDefaults().underVespaHome("libexec/yms/yms_check_host_life"));
SecretAgentScheduleMaker hostLifeSchedule = new SecretAgentScheduleMaker("host-life", 60, hostLifeCheckPath)
.withTag("namespace", "Vespa")
.withTag("role", "tenants")