[FIX] point_of_sale: Set max cron for IoT to 0

From commit 42f292af93 the default
max cron is setted to 2.

But we don't need cron on the IoT and need to explicitly set it to 0

closes odoo/odoo#71655

Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
This commit is contained in:
lejeune quentin
2021-06-03 09:03:09 +00:00
parent 8277c73948
commit 13f74aba74
@@ -32,7 +32,7 @@ function _start() {
while ! test -a /run/systemd/timesync/synchronized && ! ip route | grep 10.11.12.1 && ((cnt--)); do
sleep 1
done
start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER:$USER --background --make-pidfile --exec $DAEMON -- --config $CONFIG --logfile $LOGFILE --load=$MODULES --limit-time-cpu=600 --limit-time-real=1200
start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER:$USER --background --make-pidfile --exec $DAEMON -- --config $CONFIG --logfile $LOGFILE --load=$MODULES --limit-time-cpu=600 --limit-time-real=1200 --max-cron-threads=0
}
function _stop() {