5ae9a25b2d
* Use %%PREFIX%% in checkrestart.in * Use check_yesno_period instead of handmade solution PR: 245283 Submitted by: tom@hur.st (maintainer) Reported by: 0mp@
36 lines
934 B
Text
36 lines
934 B
Text
[
|
|
{ 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
|
|
}
|
|
]
|