update to version 1.3.2

This commit is contained in:
tschettervictor
2025-12-25 21:45:12 -07:00
parent b2538dbd30
commit eadb217f57
4 changed files with 34 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ Bastille is available in the official FreeBSD ports tree at
``sysutils/bastille``. Binary packages are available in quarterly and latest
repositories.
Current version is ``1.3.1.251223``.
Current version is ``1.3.2.251225``.
To install from the FreeBSD package repository:

View File

@@ -5,9 +5,9 @@ copyright = '2018-2025, Christer Edwards'
author = 'Christer Edwards'
# The short X.Y version
version = '1.3.1'
version = '1.3.2'
# The full version, including alpha/beta/rc tags
release = '1.3.1.251223'
release = '1.3.2.251225'
# -- General configuration ---------------------------------------------------

View File

@@ -32,7 +32,7 @@
PATH=${PATH}:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
BASTILLE_VERSION=1.3.1.251223
BASTILLE_VERSION=1.3.2.251225
# Validate config file
# Copy default when 'setup' is called

View File

@@ -0,0 +1,30 @@
#!/bin/sh
# Bastille Monitor
#
# PROVIDE: bastille_monitor
# REQUIRE: jail
# KEYWORD: shutdown
# Add the following to /etc/rc.conf[.local] to enable this service
#
# bastille_monitor_enable (bool): Set to "NO" by default.
# Set to "YES" to enable.
# bastille_monitor_rate (bool): Rate at which to run the monitor.
# Set to "10" by default, 5 minutes.
#
. /etc/rc.subr
name=bastille_monitor
rcvar=${name}_enable
: ${bastille_monitor_enable:="NO"}
: ${bastille_monitor_rate:="10"}
pidfile="/var/run/${name}.pid"
command="/usr/sbin/daemon"
command_args="-R ${bastille_monitor_rate} -P ${pidfile} -H -o /var/log/${name}.log /usr/local/bin/bastille monitor ALL"
load_rc_config ${name}
run_rc_command "$1"