Files
2026-10-04 04:07:15 +00:00

37 lines
934 B
Plaintext

[
{ type: install,
message: <<EOM
In order to enable periodic(8) checks, set the following in /etc/periodic.conf
# Required
security_checkrestart_enable="YES"
# Optional
security_checkrestart_period="DAILY" # or WEEKY, or MONTHLY
security_checkrestart_jails="0 web" # limit to jails 0 and web
security_checkrestart_users="root www" # limit to root and www users
security_checkrestart_procs="smbd httpd" # limit to samba and httpd
EOM,
},
{ type: upgrade,
maximum_version: "0.5.0_1",
message: <<EOM
The periodic(8) script is now a security script. All 'daily_checkrestart_'
instances in /etc/periodic.conf should be changed to 'security_checkrestart_'.
i.e.
daily_checkrestart_enable="YES"
is now:
security_checkrestart_enable="YES"
daily_checkrestart_weekdays is no longer supported. The security period
mechanism should be used instead:
security_checkrestart_period="DAILY" # or WEEKLY, or MONTHLY
EOM
}
]