Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
8674 Lượt xem

I installed the Odoo Debian package and now it is running and I can't stop it. I want to start it again with a different config file but I can't find a way to kill the instance that is currently running.

I have tried to find the process using  `fuser 8069/tcp` and `lsof -i:8069` but there are no processes shown.

Odoo is not on my list of Startup applications and yet even after I reboot it is still running.

How can I kill it?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Keith

There must be odoo service running at startup. you can find it by following command
1)
ps aux | grep odoo

you will get a list of running odoo service

copy process id and kill it by following command.

kill -9 p_id

2) try sudo service odoo stop

3) you can find odoo service under /etc/init.d directory and remove that file

Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat

Ảnh đại diện
Huỷ bỏ
Tác giả

1) Works but when I realised that the service runs under user `odoo` I found `ps -U odoo` to be easier
2) Works great and `sudo service odoo start` starts it up again which is useful for me.
3) There is indeed a file called `odoo` in /etc/init.d but although I removed it, the service continues to start at boot. Any other suggestions please?

Tác giả

I was able to prevent Odoo from starting on boot with: `systemctl disable odoo`

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 25
459
1
thg 6 25
1543
3
thg 7 25
3214
1
thg 5 25
1364
1
thg 5 25
1614