summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2016-09-23 22:25:18 +0200
committerSimon Lejeune <sle@openerp.com>2016-09-30 12:05:49 +0200
commited8f0c83c46a5011abb5da772b74c3aed5a32b9d (patch)
tree489201290883553d4a98e47e70c0bd13bcc22c96 /debian
parent2d5fc151a201ddcbdbabfb1f45060b65679f67f2 (diff)
[REF] cli: renamed openerp-server to odoo-bin
The use of an entry point was considered in order to provide an `odoo` command in the path for the packages users, but the generated entry point will first check that all the things in install_requires were provided in a not bright way: it'll check that it matches a distribution name. This does not work because python-chart does not have the distrubtion name "pychart" which is provided by the python-pychart package in debian jessie. Same for suds-jurko which is provided by python-suds in debian stretch but does not have the distribution name "suds". Also, adapted the packages tests to these cli changes.
Diffstat (limited to 'debian')
-rw-r--r--debian/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/init b/debian/init
index 2a3a165dbee..41cfe2725bc 100644
--- a/debian/init
+++ b/debian/init
@@ -1,6 +1,6 @@
#!/bin/bash
### BEGIN INIT INFO
-# Provides: odoo.py
+# Provides: odoo
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
@@ -14,7 +14,7 @@
. /lib/lsb/init-functions
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
-DAEMON=/usr/bin/odoo.py
+DAEMON=/usr/bin/odoo
NAME=odoo
DESC=odoo
CONFIG=/etc/odoo/openerp-server.conf