Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
41024728
Commit
41024728
authored
16 years ago
by
Panos Christeas
Browse files
Options
Downloads
Patches
Plain Diff
Rename TinyERP to OpenERP in scripts.
bzr revid: p_christ@hol.gr-20080923160156-if74p01bs4js0mr6
parent
f345da35
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
doc/README.urpmi
+1
-1
1 addition, 1 deletion
doc/README.urpmi
doc/openerp-server.conf
+1
-1
1 addition, 1 deletion
doc/openerp-server.conf
doc/openerp-server.init
+21
-21
21 additions, 21 deletions
doc/openerp-server.init
doc/openerp-server.logrotate
+1
-1
1 addition, 1 deletion
doc/openerp-server.logrotate
with
24 additions
and
24 deletions
doc/README.urpmi
+
1
−
1
View file @
41024728
...
...
@@ -25,7 +25,7 @@ unix user name):
$ logout
# logout
3. Launch service daemon by "service
tiny
erp-server start".
3. Launch service daemon by "service
open
erp-server start".
The first time it is run, the server will initialise the database with all the default values.
...
...
This diff is collapsed.
Click to expand it.
doc/openerp-server.conf
+
1
−
1
View file @
41024728
[
options
]
without_demo
=
Fals
e
without_demo
=
Tru
e
upgrade
=
False
verbose
=
False
xmlrpc
=
True
...
...
This diff is collapsed.
Click to expand it.
doc/openerp-server.init
+
21
−
21
View file @
41024728
#!/bin/bash
#
tiny
erp-server This shell script takes care of starting and stopping
#
Tiny
ERP server
#
open
erp-server This shell script takes care of starting and stopping
#
Open
ERP server
#
# chkconfig: 345 95 05
# description:
Tiny
ERP server
# description:
Open
ERP server
#
# pidfile: /var/run/
tiny
erp-server.pid
# config: /etc/
tiny
erp-server.conf
# pidfile: /var/run/
open
erp-server.pid
# config: /etc/
open
erp-server.conf
### BEGIN INIT INFO
# Provides:
tiny
erp-server
# Provides:
open
erp-server
# Required-Start: postgresql
# Required-Stop: postgresql
# Should-Start: $network harddrake
# Default-Start: 345
# Short-Description: Launches the
Tiny
ERP server.
# Description: This startup script launches the
Tiny
ERP server.
# Short-Description: Launches the
Open
ERP server.
# Description: This startup script launches the
Open
ERP server.
### END INIT INFO
# Source function library.
.
/etc/rc.d/init.d/functions
PIDFILE
=
/var/run/tinyerp/
tiny
erp-server.pid
LOCKFILE
=
/var/lock/subsys/
tiny
erp-server
LOGFILE
=
/var/log/tinyerp/
tiny
erp-server.log
PIDFILE
=
/var/run/tinyerp/
open
erp-server.pid
LOCKFILE
=
/var/lock/subsys/
open
erp-server
LOGFILE
=
/var/log/tinyerp/
open
erp-server.log
OPTS
=
"--pidfile=
$PIDFILE
--logfile=
$LOGFILE
"
prog
=
"
tiny
erp-server"
desc
=
"
Tiny
ERP Server Daemon"
prog
=
"
open
erp-server"
desc
=
"
Open
ERP Server Daemon"
# check if the
tiny
erp-server conf file is present, then use it
if
[
-f
/etc/
tiny
erp-server.conf
]
;
then
OPTS
=
"
$OPTS
-c /etc/
tiny
erp-server.conf"
# check if the
open
erp-server conf file is present, then use it
if
[
-f
/etc/
open
erp-server.conf
]
;
then
OPTS
=
"
$OPTS
-c /etc/
open
erp-server.conf"
fi
# Source function library
...
...
@@ -44,16 +44,16 @@ else
exit
0
fi
# check the existence of the
tiny
erp-server script
[
-z
"/usr/bin/
tiny
erp-server"
]
&&
exit
0
# check the existence of the
open
erp-server script
[
-z
"/usr/bin/
open
erp-server"
]
&&
exit
0
RETVAL
=
0
start
()
{
echo
-n
$"Starting
$desc
(
$prog
): "
daemon
--user
tinyerp
--check
tiny
erp-server
\
"/usr/bin/setsid /usr/bin/
tiny
erp-server
\
-c /etc/
tiny
erp-server.conf
\
daemon
--user
tinyerp
--check
open
erp-server
\
"/usr/bin/setsid /usr/bin/
open
erp-server
\
-c /etc/
open
erp-server.conf
\
--pidfile=
$PIDFILE
\
--logfile=
$LOGFILE
&"
...
...
This diff is collapsed.
Click to expand it.
doc/openerp-server.logrotate
+
1
−
1
View file @
41024728
/var/log/
tiny
erp/*.log {
/var/log/
open
erp/*.log {
copytruncate
missingok
notifempty
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment