Rename TinyERP to OpenERP in scripts.

bzr revid: p_christ@hol.gr-20080923160156-if74p01bs4js0mr6
This commit is contained in:
P. Christeas 2008-09-23 19:01:56 +03:00
parent f345da353a
commit 410247285e
4 changed files with 24 additions and 24 deletions

View File

@ -25,7 +25,7 @@ unix user name):
$ logout $ logout
# logout # logout
3. Launch service daemon by "service tinyerp-server start". 3. Launch service daemon by "service openerp-server start".
The first time it is run, the server will initialise the database with all the default values. The first time it is run, the server will initialise the database with all the default values.

View File

@ -1,5 +1,5 @@
[options] [options]
without_demo = False without_demo = True
upgrade = False upgrade = False
verbose = False verbose = False
xmlrpc = True xmlrpc = True

View File

@ -1,38 +1,38 @@
#!/bin/bash #!/bin/bash
# tinyerp-server This shell script takes care of starting and stopping # openerp-server This shell script takes care of starting and stopping
# TinyERP server # OpenERP server
# #
# chkconfig: 345 95 05 # chkconfig: 345 95 05
# description: TinyERP server # description: OpenERP server
# #
# pidfile: /var/run/tinyerp-server.pid # pidfile: /var/run/openerp-server.pid
# config: /etc/tinyerp-server.conf # config: /etc/openerp-server.conf
### BEGIN INIT INFO ### BEGIN INIT INFO
# Provides: tinyerp-server # Provides: openerp-server
# Required-Start: postgresql # Required-Start: postgresql
# Required-Stop: postgresql # Required-Stop: postgresql
# Should-Start: $network harddrake # Should-Start: $network harddrake
# Default-Start: 345 # Default-Start: 345
# Short-Description: Launches the TinyERP server. # Short-Description: Launches the OpenERP server.
# Description: This startup script launches the TinyERP server. # Description: This startup script launches the OpenERP server.
### END INIT INFO ### END INIT INFO
# Source function library. # Source function library.
. /etc/rc.d/init.d/functions . /etc/rc.d/init.d/functions
PIDFILE=/var/run/tinyerp/tinyerp-server.pid PIDFILE=/var/run/tinyerp/openerp-server.pid
LOCKFILE=/var/lock/subsys/tinyerp-server LOCKFILE=/var/lock/subsys/openerp-server
LOGFILE=/var/log/tinyerp/tinyerp-server.log LOGFILE=/var/log/tinyerp/openerp-server.log
OPTS="--pidfile=$PIDFILE --logfile=$LOGFILE" OPTS="--pidfile=$PIDFILE --logfile=$LOGFILE"
prog="tinyerp-server" prog="openerp-server"
desc="TinyERP Server Daemon" desc="OpenERP Server Daemon"
# check if the tinyerp-server conf file is present, then use it # check if the openerp-server conf file is present, then use it
if [ -f /etc/tinyerp-server.conf ]; then if [ -f /etc/openerp-server.conf ]; then
OPTS="$OPTS -c /etc/tinyerp-server.conf" OPTS="$OPTS -c /etc/openerp-server.conf"
fi fi
# Source function library # Source function library
@ -44,16 +44,16 @@ else
exit 0 exit 0
fi fi
# check the existence of the tinyerp-server script # check the existence of the openerp-server script
[ -z "/usr/bin/tinyerp-server" ] && exit 0 [ -z "/usr/bin/openerp-server" ] && exit 0
RETVAL=0 RETVAL=0
start() { start() {
echo -n $"Starting $desc ($prog): " echo -n $"Starting $desc ($prog): "
daemon --user tinyerp --check tinyerp-server \ daemon --user tinyerp --check openerp-server \
"/usr/bin/setsid /usr/bin/tinyerp-server \ "/usr/bin/setsid /usr/bin/openerp-server \
-c /etc/tinyerp-server.conf \ -c /etc/openerp-server.conf \
--pidfile=$PIDFILE \ --pidfile=$PIDFILE \
--logfile=$LOGFILE &" --logfile=$LOGFILE &"

View File

@ -1,4 +1,4 @@
/var/log/tinyerp/*.log { /var/log/openerp/*.log {
copytruncate copytruncate
missingok missingok
notifempty notifempty