How to use odoo server even after logging out from the shell/terminal
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
nohup (No Hang Up) is a command in Linux systems that runs the process even after logging out from the shell/terminal
nohup ./odoo-bin --xmlrpc-port='port number' --addons-path ='path' --db-filter=e -d db_name &
Yes nohup is a very useful tool but it's not remmended because if your server rebooted you will have to run odoo again with it.
So the best practice will be is to build a background service you can find my answer below.
Thanks and Good luck
Setup a background service in ubuntu linux that will start when the server boots or loads.
If you have a preconfigured instance of Odoo in a VPS you have to build it your self using /bin/init.d files here is an example
If you don't have Odoo instance installed in your VPS here is a script to install Odoo that has a background service preconfigured for you.
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ