mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 22:50:32 -04:00
Don't rely on directly calling crontab(1) to install the cron job, use the etc/cron.d directory for which we've had support for a while. This fixes installing munin-master using pkg -r as crontab(1) installed the cron job on the host system not in the specified alternative root otherwise. Completely remove pkg-install, that also removes the automatic migration for newsyslog files after src revision r340318 it's been 4 years and a bit. Leave the pkg-deinstall script for a while to make sure that the automatically installed cron jobs via crontab(1) are removed. PR: 258072 Reported by: Tassilo Philipp <tphilipp@potion-studios.com> Tested by: Tassilo Philipp <tphilipp@potion-studios.com>
30 lines
752 B
Text
30 lines
752 B
Text
[
|
|
{
|
|
message: <<EOT
|
|
Unless this file already existed, a sample configuration file
|
|
has been placed in %%ETCDIR%%/munin-node.conf.
|
|
|
|
Please edit it according to your needs.
|
|
|
|
The Munin client will *not* be started automatically. To allow it
|
|
to start, put this line in /etc/rc.conf:
|
|
|
|
munin_node_enable="YES"
|
|
|
|
Then, it will be started on the next boot. If this line is already
|
|
present, the client will be started now. Otherwise, edit
|
|
/etc/rc.conf and execute this command:
|
|
|
|
%%PREFIX%%/etc/rc.d/munin-node start
|
|
|
|
For a list of plugins that will probably work run
|
|
%%PREFIX%%/sbin/munin-node-configure --suggest
|
|
|
|
If this is a fresh install run
|
|
%%PREFIX%%/sbin/munin-node-configure --shell | sh -x
|
|
to install the plugins automatically
|
|
|
|
EOT
|
|
type: install
|
|
}
|
|
]
|