mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-21 09:41:47 +01:00
Update sendmail rcvars, code consistency maintenance.
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
#####################
|
||||
|
||||
## default paths
|
||||
bastille_prefix=/usr/local/bastille ## default: "/usr/local/bastille"
|
||||
bastille_backupsdir=${bastille_prefix}/backups ## default: ${bastille_prefix}/backups
|
||||
bastille_cachedir=${bastille_prefix}/cache ## default: ${bastille_prefix}/cache
|
||||
bastille_jailsdir=${bastille_prefix}/jails ## default: ${bastille_prefix}/jails
|
||||
bastille_logsdir=${bastille_prefix}/logs ## default: ${bastille_prefix}/logs
|
||||
bastille_releasesdir=${bastille_prefix}/releases ## default: ${bastille_prefix}/releases
|
||||
bastille_templatesdir=${bastille_prefix}/templates ## default: ${bastille_prefix}/templates
|
||||
bastille_prefix="/usr/local/bastille" ## default: "/usr/local/bastille"
|
||||
bastille_backupsdir="${bastille_prefix}/backups" ## default: ${bastille_prefix}/backups
|
||||
bastille_cachedir="${bastille_prefix}/cache" ## default: ${bastille_prefix}/cache
|
||||
bastille_jailsdir="${bastille_prefix}/jails" ## default: ${bastille_prefix}/jails
|
||||
bastille_logsdir="${bastille_prefix}/logs" ## default: ${bastille_prefix}/logs
|
||||
bastille_releasesdir="${bastille_prefix}/releases" ## default: ${bastille_prefix}/releases
|
||||
bastille_templatesdir="${bastille_prefix}/templates" ## default: ${bastille_prefix}/templates
|
||||
|
||||
## bastille scripts directory (assumed by bastille pkg)
|
||||
bastille_sharedir=/usr/local/share/bastille ## default: "/usr/local/share/bastille"
|
||||
bastille_sharedir="/usr/local/share/bastille" ## default: "/usr/local/share/bastille"
|
||||
|
||||
## bootstrap archives (base, lib32, ports, src, test)
|
||||
bastille_bootstrap_archives="base" ## default: "base"
|
||||
|
||||
@@ -326,13 +326,19 @@ create_jail() {
|
||||
|
||||
## rc.conf
|
||||
## + syslogd_flags="-ss"
|
||||
## + sendmail_none="NONE"
|
||||
## + sendmail_enable="NO"
|
||||
## + sendmail_submit_enable="NO"
|
||||
## + sendmail_outbound_enable="NO"
|
||||
## + sendmail_msp_queue_enable="NO"
|
||||
## + cron_flags="-J 60" ## cedwards 20181118
|
||||
if [ ! -f "${bastille_jail_rc_conf}" ]; then
|
||||
touch "${bastille_jail_rc_conf}"
|
||||
sysrc -f "${bastille_jail_rc_conf}" syslogd_flags=-ss
|
||||
sysrc -f "${bastille_jail_rc_conf}" sendmail_enable=NONE
|
||||
sysrc -f "${bastille_jail_rc_conf}" cron_flags='-J 60'
|
||||
sysrc -f "${bastille_jail_rc_conf}" syslogd_flags="-ss"
|
||||
sysrc -f "${bastille_jail_rc_conf}" sendmail_enable="NO"
|
||||
sysrc -f "${bastille_jail_rc_conf}" sendmail_submit_enable="NO"
|
||||
sysrc -f "${bastille_jail_rc_conf}" sendmail_outbound_enable="NO"
|
||||
sysrc -f "${bastille_jail_rc_conf}" sendmail_msp_queue_enable="NO"
|
||||
sysrc -f "${bastille_jail_rc_conf}" cron_flags="-J 60"
|
||||
|
||||
## VNET specific
|
||||
if [ -n "${VNET_JAIL}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user