Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deusebio committed Dec 6, 2024
1 parent 80628ea commit b19f8e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion images/charmed-spark/bin/sparkd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ case "${FLAVOUR}" in
pushd /opt/spark
./entrypoint.sh "$@"
;;
"")
""|"sleep")
# Infinite sleep to allow pebble to be running indefinitely
sleep inf
;;
Expand Down
2 changes: 1 addition & 1 deletion images/charmed-spark/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ environment:

services:
sparkd:
command: "/bin/bash /opt/pebble/sparkd.sh"
command: "/bin/bash /opt/pebble/sparkd.sh [ sleep ]"
summary: "This is the service to startup Spark processes using the Spark entrypoint"
override: replace
startup: enabled
Expand Down

0 comments on commit b19f8e1

Please sign in to comment.