diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-07-15 11:58:38 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-07-15 11:58:38 +0200 |
commit | 8d4ac60f7a02e5c8e3d186f4009b4696b098152d (patch) | |
tree | 7bcc693363049178152be9c34ac8f9f573a09062 /modules/luci-mod-system/root/usr/share | |
parent | 7d9ab8d4a741cbc97e9553982e9e352b21ddf5f3 (diff) |
luci-mod-system: reload crond upon saving crontab
Fixes: #5184
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-system/root/usr/share')
-rw-r--r-- | modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json | 3 |
1 files changed, 2 insertions, 1 deletions
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" ] |