resin-boinc-server

git clone git://archive.git.mtrnord.blog/MTRNord/resin-boinc-server.git
Log | Files | Refs | README

README.md (397B)


      1 # resin-boinc-server
      2 
      3 You need to add following code to the start of the resin container:
      4 
      5 ```
      6 #!/bin/bash
      7 if [[ "$INITSYSTEM" == "on" ]]; then
      8 	echo "RUNNING"
      9 	cd boinc-server-docker && make build && make up
     10 else
     11 	echo "RUNNING"
     12 	cd boinc-server-docker && make build && make up
     13 fi
     14 
     15 while true
     16 do
     17 	echo "App exited but container is still running to allow web terminal access"
     18 	sleep 3600
     19 done
     20 ```