@@ -1041,11 +1041,12 @@ Set($EmailDashboardInlineCSS, 0);
10411041
10421042=item C<$EmailDashboardIncludeCharts>
10431043
1044- To use the JSChart-generated images in emailed dashboards, install the
1045- optional module L<WWW::Mechanize::Chrome> and enable this option.
1044+ To include the JSChart-generated images in emailed dashboards, enable this
1045+ option.
10461046
1047- You will also need a chrome-based browser installed on the RT server.
1048- See also C<$ChromePath> and C<@ChromeLaunchArguments>.
1047+ You will need a Chrome-based browser (such as Chromium) installed on the RT
1048+ server; RT renders the charts by running it headless. See also C<$ChromePath>
1049+ and C<@ChromeLaunchArguments>.
10491050
10501051=cut
10511052
@@ -1055,25 +1056,22 @@ Set($EmailDashboardIncludeCharts, @RT_DASHBOARD_CHART_EMAILS@);
10551056
10561057This option contains the path for a compatible Chrome-based browser
10571058executable that will be used to generate static images for JSChart
1058- graphs for dashboard emails.
1059-
1060- See also L<WWW::Mechanize::Chrome/launch_exe>
1059+ graphs for dashboard emails. A bare command name (the default,
1060+ C<chromium>) is looked up in C<PATH>.
10611061
10621062=cut
10631063
10641064Set($ChromePath, 'chromium');
10651065
10661066=item C<@ChromeLaunchArguments>
10671067
1068- This option contains the launch arguments when initializing
1069- L<WWW::Mechanize::Chrome>.
1070-
1071- If you need to run L<rt-email-dashboards> as root, you probably need to add
1072- C<--no-sandbox> to get around Chrome's restriction:
1068+ This option contains extra command-line arguments passed to the
1069+ Chrome-based browser when rendering dashboard charts, for example:
10731070
10741071 Set(@ChromeLaunchArguments, '--no-sandbox');
10751072
1076- See also L<WWW::Mechanize::Chrome/launch_arg>
1073+ When L<rt-email-dashboards> runs as root, C<--no-sandbox> is added
1074+ automatically, since Chrome refuses to run as root otherwise.
10771075
10781076=cut
10791077
0 commit comments