lfd:directorywatching:paths

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

juggernaut --task=lfd:directorywatching:paths --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:directorywatching:paths --oper=path_add --value=/var/spool/cron --restart=yes

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

// watch the web root for modified files and get alerted when they change
juggernaut --task=lfd:directorywatching:paths --oper=path_add --value=/var/www/vhosts --restart=yes

Related Pages