From ac113ec717d13dfd603a50a049f7b72aeb7a4751 Mon Sep 17 00:00:00 2001 From: Jan Renz Date: Thu, 16 Apr 2015 09:23:59 +0200 Subject: [PATCH] Restart container on timeout --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 23c6e67f..0b6bda13 100644 --- a/README.md +++ b/README.md @@ -34,3 +34,15 @@ In order to execute code submissions using Docker, source code files are written - customize *config/deploy/production.rb* if you want to deploy using [Capistrano](http://capistranorb.com/) The application is compatible with MRI and JRuby. Due to superior parallelism, we recommend using JRuby. + +## Useful service maintance commands + +- delete all containers (include running ones) `docker rm -f $(docker ps -aq)` +- if the application is run as a service restart it by using `service codeocean restart` +- if deployed via capistrano you will find the logs at `/var/www/app/shared/log/` -> `production.log` + + + + + +