[FIX] point_of_sale: Stop led_status.sh on update
The fact that led_status.sh was still running when performing the `git reset --hard` made it impossible to remount the filesystem in RO mode, due to a `mount point is busy` error. Instead of starting the led_status_sh script from rc.local, we make it a service so it can be easily restarted when an update is performed. closes odoo/odoo#54353 X-original-commit: 2ad99d3b Signed-off-by:Quentin Lejeune (qle) <qle@odoo.com> Signed-off-by:
Antoine Prieëls <aprieels@users.noreply.github.com>
Showing
- addons/point_of_sale/tools/posbox/configuration/posbox_update.sh 5 additions, 0 deletions...point_of_sale/tools/posbox/configuration/posbox_update.sh
- addons/point_of_sale/tools/posbox/overwrite_after_init/etc/rc.local 0 additions, 1 deletion...nt_of_sale/tools/posbox/overwrite_after_init/etc/rc.local
- addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh 1 addition, 0 deletions...ols/posbox/overwrite_before_init/etc/init_posbox_image.sh
- addons/point_of_sale/tools/posbox/overwrite_before_init/etc/systemd/system/led-status.service 10 additions, 0 deletions...erwrite_before_init/etc/systemd/system/led-status.service
Please register or sign in to comment