summaryrefslogtreecommitdiffstats
path: root/run/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run/run.sh')
-rw-r--r--run/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run/run.sh b/run/run.sh
index bdfade3..55b5b21 100644
--- a/run/run.sh
+++ b/run/run.sh
@@ -4,4 +4,4 @@ set -o errexit
. config.sh
-podman run --name "ccpi-run" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -p ${web_port}:8888/tcp -p $ssh_port:2222/tcp -v ~/ccpi/data:/ccpi/data localhost/${image} bash
+podman run --name "ccpi-run" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -p ${web_port}:8888/tcp -p $ssh_port:2222/tcp -v ~/ccpi/data:/ccpi/data localhost/${image} sh -c '[ -f /usr/bin/supervisord ] && python2 /usr/bin/supervisord; /bin/bash'