Browse Source
new: [0k-openerp] charm intelligence is now migrated in ``0k-oe``.
new: [0k-openerp] charm intelligence is now migrated in ``0k-oe``.
This will allow much better integration with different version.postgres
Valentin Lab
10 years ago
6 changed files with 25 additions and 433 deletions
-
2precise/0k-odoo-light/hooks/install
-
7precise/0k-openerp/etc/default/openerp-server
-
81precise/0k-openerp/etc/init.d/openerp-server
-
67precise/0k-openerp/etc/openerp-server.conf
-
299precise/0k-openerp/hooks/install
-
2precise/0k-openerp/revision
@ -1,7 +0,0 @@ |
|||||
DBFILTER="[ |
|
||||
# ('^(?P<dbprefix>[a-zA-Z0-9]+)\.(simplee\.fr|0k\.io|txs\.fr)$', '^%(dbprefix)s.*$'), |
|
||||
# ('^(tuxservices|172\.16\.[0-9]+\.[0-9]+)(:[0-9]+)?$', '^tuxservices.*\$'), ## All database will be shown |
|
||||
# (None, '^$') ## Default: no database will be shown |
|
||||
(None, '^.*$') ## All database will be shown |
|
||||
]" |
|
||||
|
|
@ -1,81 +0,0 @@ |
|||||
#!/bin/sh |
|
||||
|
|
||||
### BEGIN INIT INFO |
|
||||
# Provides: openerp-server |
|
||||
# Required-Start: $remote_fs $syslog |
|
||||
# Required-Stop: $remote_fs $syslog |
|
||||
# Should-Start: $network |
|
||||
# Should-Stop: $network |
|
||||
# Default-Start: 2 3 4 5 |
|
||||
# Default-Stop: 0 1 6 |
|
||||
# Short-Description: Enterprise Resource Management software |
|
||||
# Description: Open ERP is a complete ERP and CRM software. |
|
||||
### END INIT INFO |
|
||||
|
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin |
|
||||
PYTHON=/srv/virtualenv/default/bin/python |
|
||||
DAEMON=/opt/apps/0k-oe/openobject-server/openerp-server |
|
||||
NAME=openerp-server |
|
||||
DESC=openerp-server |
|
||||
|
|
||||
DEFAULT_FILE=/etc/default/openerp-server |
|
||||
|
|
||||
DBFILTER="'.*'" |
|
||||
[ -e "$DEFAULT_FILE" ] && . "$DEFAULT_FILE" |
|
||||
|
|
||||
|
|
||||
USER=openerp |
|
||||
|
|
||||
test -x ${DAEMON} || exit 0 |
|
||||
|
|
||||
set -e |
|
||||
|
|
||||
case "${1}" in |
|
||||
start) |
|
||||
echo -n "Starting ${DESC}: " |
|
||||
|
|
||||
start-stop-daemon --start --quiet --pidfile /var/run/${NAME}.pid \ |
|
||||
--chuid ${USER} --background --make-pidfile \ |
|
||||
--exec ${PYTHON} -- ${DAEMON} --config=/etc/openerp-server.conf \ |
|
||||
--logfile=/var/log/openerp/openerp-server.log \ |
|
||||
--db-filter="$DBFILTER" |
|
||||
|
|
||||
|
|
||||
echo "${NAME}." |
|
||||
;; |
|
||||
|
|
||||
stop) |
|
||||
echo -n "Stopping ${DESC}: " |
|
||||
|
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/${NAME}.pid \ |
|
||||
--oknodo |
|
||||
|
|
||||
echo "${NAME}." |
|
||||
;; |
|
||||
|
|
||||
restart|force-reload) |
|
||||
echo -n "Restarting ${DESC}: " |
|
||||
|
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/${NAME}.pid \ |
|
||||
--oknodo |
|
||||
|
|
||||
sleep 1 |
|
||||
|
|
||||
start-stop-daemon --start --quiet --pidfile /var/run/${NAME}.pid \ |
|
||||
--chuid ${USER} --background --make-pidfile \ |
|
||||
--exec ${PYTHON} -- ${DAEMON} --config=/etc/openerp-server.conf \ |
|
||||
--logfile=/var/log/openerp/openerp-server.log \ |
|
||||
--db-filter="$DBFILTER" |
|
||||
|
|
||||
|
|
||||
echo "${NAME}." |
|
||||
;; |
|
||||
|
|
||||
*) |
|
||||
N=/etc/init.d/${NAME} |
|
||||
echo "Usage: ${NAME} {start|stop|restart|force-reload}" >&2 |
|
||||
exit 1 |
|
||||
;; |
|
||||
esac |
|
||||
|
|
||||
exit 0 |
|
@ -1,67 +0,0 @@ |
|||||
|
|
||||
[options] |
|
||||
; This is the password that allows database operations |
|
||||
; Will be written to by the server when password is changed |
|
||||
; !! Keep this file secure !! |
|
||||
admin_passwd = %%PASSWORD%% |
|
||||
|
|
||||
root_path = /opt/apps/0k-oe/openobject-server/bin |
|
||||
|
|
||||
without_demo = False |
|
||||
verbose = False |
|
||||
|
|
||||
; Database settings |
|
||||
db_user = %%OPENERP_USERNAME%% |
|
||||
db_password = %%OPENERP_PASSWOR%% |
|
||||
; Please uncomment the following line *after* you have created the |
|
||||
; database. It activates the auto module check on startup. |
|
||||
; db_name = False |
|
||||
db_port = 5432 |
|
||||
db_host = localhost |
|
||||
db_maxconn = 64 |
|
||||
|
|
||||
; Networking Settings |
|
||||
xmlrpc = True |
|
||||
xmlrpc_interface = |
|
||||
xmlrpc_port = 8069 |
|
||||
|
|
||||
proxy_mode = True |
|
||||
|
|
||||
netrpc = True |
|
||||
netrpc_interface = |
|
||||
netrpc_port = 8070 |
|
||||
|
|
||||
; Uncomment these for xml-rpc over SSL |
|
||||
;xmlrpcs = True |
|
||||
;xmlrpcs_interface = |
|
||||
;xmlrpcs_port = 8071 |
|
||||
;secure_pkey_file = /etc/ssl/openerp/server.pkey |
|
||||
;secure_cert_file = /etc/ssl/openerp/server.crt |
|
||||
|
|
||||
; Log settings |
|
||||
;logfile = /var/log/openerp/openerp-server.log |
|
||||
syslog = False |
|
||||
logrotate = True |
|
||||
log_level = info |
|
||||
|
|
||||
; False prevents the client displaying the list of databases |
|
||||
list_db = True |
|
||||
addons_path = /opt/apps/0k-oe/openobject-server/openerp/addons,/opt/apps/0k-oe/addons,/opt/apps/0k-oe/openerp-web/addons |
|
||||
demo = {} |
|
||||
soap = False |
|
||||
reportgz = False |
|
||||
translate_modules = ['all'] |
|
||||
|
|
||||
; Static http parameters |
|
||||
static_http_enable = False |
|
||||
static_http_document_root = /var/www/html |
|
||||
static_http_url_prefix = / |
|
||||
|
|
||||
; Outbound email configuration |
|
||||
;smtp_user = info@example.com |
|
||||
;email_from = "OpenERP Support" <info@example.com> |
|
||||
;smtp_port = 25 |
|
||||
;smtp_password = ******** |
|
||||
;smtp_ssl = True |
|
||||
;smtp_server = mail.example.com |
|
||||
|
|
@ -1 +1 @@ |
|||||
0 |
|
||||
|
1 |
Write
Preview
Loading…
Cancel
Save
Reference in new issue