[FIX] point_of_sale: Reboot IoT after upgrade

For a upgrade the IoT Box perform a "git reset hard"
And after we restart odoo.
But it is not enough and we need to reboot the IoT Box

closes odoo/odoo#46119

X-original-commit: c20a17bf33f13543a331d557d65c5e6f196d46e4
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
This commit is contained in:
lejeune quentin
2020-02-24 14:10:43 +00:00
parent e5b9f5e63e
commit 7e806e47af
@@ -25,4 +25,4 @@ done
sudo mount -o remount,ro /
sudo mount -o remount,rw /root_bypass_ramdisks/etc/cups
(sleep 5 && sudo service odoo restart) &
(sleep 5 && sudo service odoo reboot) &