github.com/grahambrereton-form3/tilt@v0.10.18/integration/restart.sh (about)

     1  #!/bin/sh
     2  #
     3  # A helper script to implement restart_container when the docker runtime isn't available.
     4  #
     5  # Usage:
     6  #   Copy start.sh and restart.sh to your container working dir.
     7  #
     8  #   Make your container entrypoint:
     9  #   ./start.sh path-to-binary [args]
    10  #
    11  #   To restart the container:
    12  #   ./restart.sh
    13  
    14  touch restart.txt
    15  kill $(cat process.txt)