From 7185c5ec7d357897c1379234a00570afe2ee9eff Mon Sep 17 00:00:00 2001 From: Bruno Randolf Date: Mon, 9 Nov 2020 10:43:10 +0000 Subject: [PATCH] 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 --- package/utils/busybox/Makefile | 2 +- package/utils/busybox/files/cron | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 } -- 2.30.2