From c3f5f03f320ce366a860ca7c2b4ba5217315cd69 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 31 Jul 2014 17:22:42 +0200 Subject: [PATCH] conf thin --- config/options.rb | 2 +- config/thin.yml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 config/thin.yml diff --git a/config/options.rb b/config/options.rb index 67338c5a..d79971e9 100644 --- a/config/options.rb +++ b/config/options.rb @@ -1,6 +1,6 @@ # encoding: utf-8 -ENV[ 'RACK_ENV' ] = 'development' +ENV[ 'LEDGER_FILE' ] = '/home/owncloud-data/cycojesus/files/org-files/comptes.ledger' CURRENCY = '€' SEPARATOR = ',' diff --git a/config/thin.yml b/config/thin.yml new file mode 100644 index 00000000..e34fae6f --- /dev/null +++ b/config/thin.yml @@ -0,0 +1,13 @@ +user: apache +group: apache +pid: /var/run/ledgerrb/thin.pid +log: /var/log/ledgerrb/thin.log +timeout: 30 +max_conns: 1024 +port: 9292 +max_persistent_conns: 512 +environment: production +adapter: rack +servers: 1 +daemonize: true +tag: ledgerrb \ No newline at end of file