aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/monit/files
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-10-11 10:50:45 +0800
committermnag <mnag@FreeBSD.org>2005-10-11 10:50:45 +0800
commit76a91b6d4e33e4e2c73e08761354e7486b09bb4b (patch)
tree81b039da62abeba0cb706cfbf38e67896c474620 /sysutils/monit/files
parent7255a8f75915ad5c02cc578d79e52b0fcd5b521b (diff)
downloadfreebsd-ports-gnome-76a91b6d4e33e4e2c73e08761354e7486b09bb4b.tar.gz
freebsd-ports-gnome-76a91b6d4e33e4e2c73e08761354e7486b09bb4b.tar.zst
freebsd-ports-gnome-76a91b6d4e33e4e2c73e08761354e7486b09bb4b.zip
Update to 4.6
PR: 87231 Submitted by: Martin Pala <martinp@tildeslash.com> (maintainer)
Diffstat (limited to 'sysutils/monit/files')
-rw-r--r--sysutils/monit/files/monit.sh.in (renamed from sysutils/monit/files/monit.sh)10
-rw-r--r--sysutils/monit/files/pkg-message.in13
2 files changed, 15 insertions, 8 deletions
diff --git a/sysutils/monit/files/monit.sh b/sysutils/monit/files/monit.sh.in
index a7739da45555..a380cc9bbb92 100644
--- a/sysutils/monit/files/monit.sh
+++ b/sysutils/monit/files/monit.sh.in
@@ -20,7 +20,6 @@ rcvar=`set_rcvar`
restart_precmd="monit_checkconfig"
reload_precmd="monit_checkconfig"
-stop_cmd="monit_stop"
default_config=%%PREFIX%%/etc/monitrc
required_files=${default_config}
@@ -34,13 +33,8 @@ load_rc_config $name
monit_checkconfig()
{
- echo "Performing sanity check on monit configuration:"
- ${command} ${command_args} -t
-}
-
-monit_stop() {
- ${command} ${command_args} quit
- run_rc_command poll
+ echo "Performing sanity check on monit configuration:"
+ ${command} ${command_args} -t
}
extra_commands="reload"
diff --git a/sysutils/monit/files/pkg-message.in b/sysutils/monit/files/pkg-message.in
new file mode 100644
index 000000000000..98ef1ce8b170
--- /dev/null
+++ b/sysutils/monit/files/pkg-message.in
@@ -0,0 +1,13 @@
+**************************************************************************
+
+USAGE:
+
+To enable monit you need to add monit_enable="YES" to rc.conf file.
+Before running monit you have to configure monitrc file. There is
+example configuration file monitrc.sample, you can find many
+samples for particular services in examples.html:
+
+%%PREFIX%%/etc/monitrc.sample
+%%PREFIX%%/share/doc/monit/examples.html
+
+**************************************************************************