[arch-commits] Commit in mailgraph/trunk (PKGBUILD mailgraph.service)
Florian Pritz
bluewind at archlinux.org
Mon Dec 29 20:10:04 UTC 2014
Date: Monday, December 29, 2014 @ 21:10:04
Author: bluewind
Revision: 124872
FS#43252; use journalctl instead of syslog
upgpkg: mailgraph 1.14-4
Modified:
mailgraph/trunk/PKGBUILD
mailgraph/trunk/mailgraph.service
-------------------+
PKGBUILD | 6 +++---
mailgraph.service | 9 ++++++---
2 files changed, 9 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-12-29 19:05:00 UTC (rev 124871)
+++ PKGBUILD 2014-12-29 20:10:04 UTC (rev 124872)
@@ -2,17 +2,17 @@
# Contributor: lp76 <l.peduto at gmail.com>
pkgname=mailgraph
pkgver=1.14
-pkgrel=3
+pkgrel=4
pkgdesc="A very simple mail statistics RRDtool frontend for Postfix and Sendmail"
url="http://mailgraph.schweikert.ch/"
arch=('any')
license=('GPL')
options=(emptydirs)
-depends=('rrdtool' 'perl-file-tail' 'syslog-ng')
+depends=('rrdtool' 'perl-file-tail')
source=("http://mailgraph.schweikert.ch/pub/$pkgname-$pkgver.tar.gz"
mailgraph.service)
md5sums=('0f0ae91968ea7ae0c1d14985c560530b'
- '0517acd06d86112806fd9ac81c2d6e0e')
+ '92d411ab7f14083a77faa07b2ade653f')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
Modified: mailgraph.service
===================================================================
--- mailgraph.service 2014-12-29 19:05:00 UTC (rev 124871)
+++ mailgraph.service 2014-12-29 20:10:04 UTC (rev 124872)
@@ -1,7 +1,10 @@
[Service]
-ExecStart=/usr/bin/mailgraph.pl -l /var/log/everything.log --daemon-rrd /var/lib/mailgraph
-# FIXME: doesn't work
-#ExecStart=/bin/bash -c '/usr/bin/journalctl -af | /usr/bin/mailgraph.pl -c -l -'
+SyslogIdentifier=mailgraph
+# if you use syslog instead of journald
+#ExecStart=/usr/bin/mailgraph.pl -l /var/log/everything.log --daemon-rrd /var/lib/mailgraph
+ExecStart=/bin/bash -c 'LANG=C /usr/bin/journalctl -af | /usr/bin/mailgraph.pl -c --daemon-rrd /var/lib/mailgraph -l -'
+
+
[Install]
WantedBy=multi-user.target
More information about the arch-commits
mailing list