commit 995c7736145b56e9dee3216c273d96fbfcdc655e parent 33dc1afbc907b327f00a723d5421bbfb9024db09 Author: Marcel <MTRNord@users.noreply.github.com> Date: Thu, 11 Aug 2016 20:43:36 +0200 Update README.md Diffstat:
| M | README.md | | | 22 | ++++++++++++++++++++-- |
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md @@ -1 +1,20 @@ -# resin-boinc-server -\ No newline at end of file +# resin-boinc-server + +You need to add following code to the start of the resin container: + +``` +#!/bin/bash +if [[ "$INITSYSTEM" == "on" ]]; then + echo "RUNNING" + cd boinc-server-docker && make build && make up +else + echo "RUNNING" + cd boinc-server-docker && make build && make up +fi + +while true +do + echo "App exited but container is still running to allow web terminal access" + sleep 3600 +done +```