odoo/doc
P. Christeas c716ecb731 Mandriva: when server starts/stops, run scripts
With this feature, server special initialization and/or preparation can
be scripted. The same after stopping, too.

bzr revid: p_christ@hol.gr-20091023222925-oph2bc6kr3u0ol7w
2009-10-24 01:29:25 +03:00
..
migrate [IMP] Update the copyright to 2009 2009-01-04 23:13:29 +01:00
tests [IMP] Update the copyright to 2009 2009-01-04 23:13:29 +01:00
COPYING passing in GPL-3 2008-11-03 19:27:16 +01:00
Changelog [IMP] updated changelog file for 5.0.6 release 2009-09-22 13:18:15 +02:00
Changelog-4.x [REL] 5.0.2 2009-08-12 11:54:43 +02:00
INSTALL [FIX] update the docs 2009-01-30 00:41:16 +01:00
License.rtf Upgrade the license 2008-10-31 07:51:17 -04:00
README.urpmi [MAJOR]: change the system user for Mandriva to "openerp". 2009-06-13 18:15:59 +03:00
README.userchange [MAJOR]: change the system user for Mandriva to "openerp". 2009-06-13 18:15:59 +03:00
openerp-server.conf [MAJOR]: change the system user for Mandriva to "openerp". 2009-06-13 18:15:59 +03:00
openerp-server.init Mandriva: when server starts/stops, run scripts 2009-10-24 01:29:25 +03:00
openerp-server.logrotate Rename TinyERP to OpenERP in scripts. 2008-09-23 19:01:56 +03:00

README.userchange

Important note for OpenERP build >= 5.0.1-11xrg:

THE USERNAME HAS CHANGED!!

Former user "tinyerp" is now called "openerp".


For that, you will have to make sure the following files are chowned
to the new user:

/var/log/openerp
/var/spool/openerp
/var/run/openerp
/etc/openerp
/etc/openerp/cert.cfg
/etc/openerp-server.conf
/etc/logrotate.d/openerp-server

Then, rename the user in the postgres database:

 psql -U postgres postgres
 
 ALTER ROLE tinyerp RENAME TO openerp;
 
Then, edit your openerp-server.conf to depict the change:
- db_user = tinyerp
+ db_user = openerp

Good luck!