From 8d4ac60f7a02e5c8e3d186f4009b4696b098152d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 15 Jul 2021 11:58:38 +0200 Subject: luci-mod-system: reload crond upon saving crontab Fixes: #5184 Signed-off-by: Jo-Philipp Wich --- modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/luci-mod-system/root/usr/share/rpcd') diff --git a/modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json b/modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json index 38ff98dee6..c5f801a264 100644 --- a/modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json +++ b/modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json @@ -72,7 +72,8 @@ }, "write": { "file": { - "/etc/crontabs/root": [ "write" ] + "/etc/crontabs/root": [ "write" ], + "/etc/init.d/cron reload": [ "exec" ] }, "ubus": { "file": [ "write" ] -- cgit v1.2.3