aboutsummaryrefslogtreecommitdiff
path: root/sysutils/checkrestart/pkg-message
blob: ea27f981f0678fc1c8b61165c4f600264f898778 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[
{ 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
}
]