mirror of
https://github.com/hackacad/bastille.git
synced 2026-03-23 18:35:04 +01:00
update to version 1.3.2
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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 ---------------------------------------------------
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
30
usr/local/etc/rc.d/bastille-monitor
Normal file
30
usr/local/etc/rc.d/bastille-monitor
Normal 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"
|
||||
Reference in New Issue
Block a user