FreeBSD Manual Pages
bastille-monitor(8) System Manager's Manual bastille-monitor(8) NAME bastille monitor -- Monitor and attempt to restart jail service(s). SYNOPSIS bastille [-x] bastille [-x] enable|disable|status bastille [-x] TARGET add|delete SERVICE1,SERVICE2 bastille [-x] list [SERVICE] DESCRIPTION The bastille sub-command will monitor jail services using the cron mechanism. It will attempt to restart them if/when they stop. See also bastille.conf(5). bastille monitor [-x] TARGET -x, --debug Enable debug mode. Calling bastille with only a TARGET is how we initiante the checking/restarting of services. Any service(s) defined for TARGET will be restarted if they are stopped. bastille monitor [-x] enable|disable|status enable This will enable monitoring, adding a cron entry to be executed every 5 minutes, or the duration set in 'bastille_monitor_cron'. See bastille.conf(5). disable Disable the monitoring function. This will remove the cron entry. status Check if the monitor is currently active or inactive. -x, --debug Enable debug mode. bastille monitor [-x] TARGET add|delete SERVICE1,SERVICE2 add Add the SERVICE to the list of services to be moni- tored. delete Remove the SERVICE from the monitoring list. -x, --debug Enable debug mode. bastille monitor [-x] TARGET list [SERVICE] list List monitored service(s) for TARGET. If SERVICE is specified, list jail(s) that are monitoring that ser- vice. Note that it will only list the jails given in TARGET. -x, --debug Enable debug mode. EXAMPLES Enable the monitoring service: bastille monitor enable Add nginx to the monitor list for myjail: bastille monitor myjail add nginx Add nginx and caddy to the monitor list for myjail: bastille monitor myjail add nginx,caddy Check which jails are monitoring caddy: bastille monitor ALL list caddy SEE ALSO bastille.conf(5), bastille-bootstrap(8), bastille-clone(8), bastille-cmd(8), bastille-config(8), bastille-console(8), bastille-convert(8), bastille-cp(8), bastille-create(8), bastille-destroy(8), bastille-edit(8), bastille-etcupdate(8), bastille-export(8), bastille-htop(8), bastille-import(8), bastille-jcp(8), bastille-limits(8), bastille-list(8), bastille-migrate(8), bastille-mount(8), bastille-network(8), bastille-pkg(8), bastille-rcp(8), bastille-rdr(8), bastille-rename(8), bastille-restart(8), bastille-service(8), bastille-setup(8), bastille-start(8), bastille-stop(8), bastille-sysrc(8), bastille-tags(8), bastille-template(8), bastille-top(8), bastille-umount(8), bastille-update(8), bastille-upgrade(8), bastille-verify(8), bastille-zfs(8) FreeBSD ports 15.quarterly December 12, 2025 bastille-monitor(8)
NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bastille-monitor&sektion=8&manpath=FreeBSD+Ports+15.0.quarterly>
