I am new to Bash. I need some help with running the POS startup script from the init.d script.
First part of the script
### BEGIN INIT INFO
# 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 odoo daemon at boot time
# Description: Enable service provided by daemon.
# X-Interactive: true
### END INIT INFO
## more info: http://wiki.debian.org/LSBInitScripts
In line 13 I need to replace
Not sure what parenthesis to put in.
Thanks in advance
Thank you for your response.
I am following the Posboxless installation on the do website https://www.odoo.com/documentation/user/9.0/point_of_sale/overview/setup.html
Start the local Odoo instance
We must launch the Odoo server with the correct settings
$ ./odoo.py --load=web,hw_proxy,hw_posbox_homepage,hw_posbox_upgrade,hw_scale, hw_scanner,hw_escpos
This sort of works from the command line the receipt printer prints the slip but I need to start it automatically. The Pos still cannot see the devices.
In addition I am now getting ESC/POS Error Access Denied
I am still very confused with this installation.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/8/16, 3:37 AM|
|Seen: 442 times|
|Last updated: 3/8/16, 5:10 AM|