diff options
author | Håkon Hallingstad <hakon@oath.com> | 2018-02-01 00:45:22 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@oath.com> | 2018-02-01 00:45:22 +0100 |
commit | 05bbd059a7ae2b48d56434a21dec770854f9a3fd (patch) | |
tree | 12e986f6412e7b006a3802cbc0c7824959c87f0d /standalone-container | |
parent | ea972cb60ffccf3a291bb3ddedca36105582a850 (diff) |
Make pid directory if it doesn't exist
Diffstat (limited to 'standalone-container')
-rwxr-xr-x | standalone-container/src/main/sh/standalone-container.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/standalone-container/src/main/sh/standalone-container.sh b/standalone-container/src/main/sh/standalone-container.sh index 02c71beaac5..c5747faf0d5 100755 --- a/standalone-container/src/main/sh/standalone-container.sh +++ b/standalone-container/src/main/sh/standalone-container.sh @@ -108,7 +108,6 @@ StartCommand() { # stuff for the process: local appdir="$VESPA_HOME/conf/$service-app" - local pidfile="$VESPA_HOME/var/run/$service.pid" local cfpfile="$VESPA_HOME/var/jdisc_core/$service.properties" local bundlecachedir="$VESPA_HOME/var/vespa/bundlecache/$service" @@ -117,6 +116,8 @@ StartCommand() { fixlimits checkjava + FixDataDirectory "$(dirname "$pidfile")" + local vespa_log="$VESPA_HOME/logs/vespa/vespa.log" export VESPA_LOG_TARGET="file:$vespa_log" FixDataDirectory "$(dirname "$vespa_log")" |