From: Bruno Randolf Date: Mon, 9 Nov 2020 10:43:10 +0000 (+0000) Subject: busybox: Let procd respawn cron X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7185c5ec7d357897c1379234a00570afe2ee9eff;p=openwrt%2Fstaging%2Fthess.git busybox: Let procd respawn cron On some systems I see the issue that crond dies after a few days. Simply letting procd respawn the process is a simple safety-net. Signed-off-by: Bruno Randolf --- diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile index 25db4ff387..71bd888c71 100644 --- a/package/utils/busybox/Makefile +++ b/package/utils/busybox/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=busybox PKG_VERSION:=1.31.1 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_FLAGS:=essential PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 diff --git a/package/utils/busybox/files/cron b/package/utils/busybox/files/cron index ca04a0c170..4efdfa52ca 100755 --- a/package/utils/busybox/files/cron +++ b/package/utils/busybox/files/cron @@ -32,6 +32,7 @@ start_service() { for crontab in /etc/crontabs/*; do procd_set_param file "$crontab" done + procd_set_param respawn procd_close_instance }