lfd:directorywatchingpaths

Configure which files and directories will be monitored for changes by directory file watching.

juggernaut --task=lfd:directorywatchingpaths --oper=<path_add|path_del> --value=<string>
Option
Value Description
--oper <string> The operation you want to perform.
--value <string> The path we want to add or delete.
--restart <yes> Restart the service after saving settings.

Examples

// add a path
juggernaut --task=lfd:directorywatchingpaths --oper=path_add --value='/var/spool/cron' --restart=yes

// remove a path
juggernaut --task=lfd:directorywatchingpaths --oper=path_del --value='/var/spool/cron' --restart=yes