summaryrefslogtreecommitdiff
path: root/mail/mailgraph/files
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2004-12-31 21:36:59 +0000
committerkim <kim@pkgsrc.org>2004-12-31 21:36:59 +0000
commitd2874bb092dde124da94c768f30d1969fa7b997f (patch)
treeeaabac9eeb80b83b931b86702f48d5203ec36c96 /mail/mailgraph/files
parent7a628dd25c81534eb8a0d50b481052acd06589c9 (diff)
downloadpkgsrc-d2874bb092dde124da94c768f30d1969fa7b997f.tar.gz
Add mailgraph 1.10
Mailgraph is a very simple mail statistics RRDtool frontend for Postfix and Sendmail that produces daily, weekly, monthly and yearly graphs of received/sent and bounced/rejected mail.
Diffstat (limited to 'mail/mailgraph/files')
-rw-r--r--mail/mailgraph/files/mailgraph.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/mail/mailgraph/files/mailgraph.sh b/mail/mailgraph/files/mailgraph.sh
new file mode 100644
index 00000000000..74c2b3215c7
--- /dev/null
+++ b/mail/mailgraph/files/mailgraph.sh
@@ -0,0 +1,19 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: mailgraph.sh,v 1.1.1.1 2004/12/31 21:36:59 kim Exp $
+#
+
+# PROVIDE: mailgraph
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="@PKGBASE@"
+rcvar=$name
+pidfile="@VARBASE@/run/${name}.pid"
+command_interpreter="@PERL@"
+command="@PREFIX@/sbin/mailgraph"
+command_args="-d"
+
+load_rc_config $name
+run_rc_command "$1"