Skip to content

Commit

Permalink
fix: winstone path on pre-stop
Browse files Browse the repository at this point in the history
Signed-off-by: sebastien.heurtematte <[email protected]>
  • Loading branch information
heurtematte authored and fredg02 committed Oct 9, 2023
1 parent a56682f commit 2d28194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/k8s/statefulset.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ local Kube = import "kube.libsonnet";
preStop: {
exec: {
# be even smarter and implement this in a script with a wait for job to complete. Adjust terminationGracePeriodSeconds accordingly
command: ["/bin/sh","-c","java -cp " + config.jiroMaster.webroot + "/winstone.jar winstone.tools.WinstoneControl shutdown --host=localhost --port=" + config.deployment.controlPort + " >/dev/termination-log 2>&1"],
command: ["/bin/sh","-c","java -cp " + config.jiroMaster.webroot + "/executable/winstone.jar winstone.tools.WinstoneControl shutdown --host=localhost --port=" + config.deployment.controlPort + " >/dev/termination-log 2>&1"],
},
},
},
Expand Down

0 comments on commit 2d28194

Please sign in to comment.