diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-01-06 09:12:11 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-01-23 11:07:50 +0100 |
| commit | b3aca1d825bb9758cbcd2d5aa8cf8f670e6a0084 (patch) | |
| tree | ec489e70cefe824249148d28fb8b063b65221889 /debian/init | |
| parent | 373539425e268f41d7d74e3f4e6f9d622863dcd4 (diff) | |
[FIX] Packaging: Debian: lintian errors and warnings
- control:
- duplicated Section entry removed
- X-Python-Version added
- Uploaders added
- init:
- set odoo.py as deamon instead of openerp-server
- source /lib/lsb/init-functions to fix Debian lintian warning
init.d-script-does-not-source-init-functions
- copyright: machine-readable (dep5) copyright
Diffstat (limited to 'debian/init')
| -rw-r--r-- | debian/init | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/debian/init b/debian/init index ee4c0120db5..2a3a165dbee 100644 --- a/debian/init +++ b/debian/init @@ -1,18 +1,20 @@ #!/bin/bash ### BEGIN INIT INFO -# Provides: openerp-server +# Provides: odoo.py # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -# Short-Description: Start openerp daemon at boot time +# Short-Description: Start odoo daemon at boot time # Description: Enable service provided by daemon. # X-Interactive: true ### END INIT INFO ## more info: http://wiki.debian.org/LSBInitScripts +. /lib/lsb/init-functions + PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin -DAEMON=/usr/bin/openerp-server +DAEMON=/usr/bin/odoo.py NAME=odoo DESC=odoo CONFIG=/etc/odoo/openerp-server.conf |
