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