From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/monit/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ community/monit/monit.changelog | 40 ++++++++++++++++++++++++++++++++++++++++ community/monit/monit.service | 13 +++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 community/monit/PKGBUILD create mode 100644 community/monit/monit.changelog create mode 100644 community/monit/monit.service (limited to 'community/monit') diff --git a/community/monit/PKGBUILD b/community/monit/PKGBUILD new file mode 100644 index 000000000..48ff45d64 --- /dev/null +++ b/community/monit/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 92063 2013-05-31 02:32:07Z seblu $ +# Maintainer: Jaroslav Lichtblau +# Contributor: Geoffroy Carrier +# Contributor: Marco Bartholomew + +pkgname=monit +pkgver=5.5 +pkgrel=3 +pkgdesc="Utility for managing and monitoring, processes, files, directories and devices on a *NIX system" +arch=('i686' 'x86_64') +url="http://mmonit.com/monit/" +license=('GPL3') +depends=('openssl') +backup=('etc/monitrc') +changelog=$pkgname.changelog +source=(http://mmonit.com/$pkgname/dist/$pkgname-$pkgver.tar.gz \ + monit.service) +sha256sums=('8276b060b3f0e6453c9748d421dec044ddae09d3e4c4666e13472aab294d7c53' + 'cf607209e9e5d39e708152dc181525570371fab750f828e890e2b6a00b81ebc4') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + ./configure --prefix=/usr + + make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + + make DESTDIR=${pkgdir} install + + install -D -m700 monitrc ${pkgdir}/etc/monitrc + + install -D -m644 ${srcdir}/$pkgname.service ${pkgdir}/usr/lib/systemd/system/$pkgname.service +} diff --git a/community/monit/monit.changelog b/community/monit/monit.changelog new file mode 100644 index 000000000..07cea8e3d --- /dev/null +++ b/community/monit/monit.changelog @@ -0,0 +1,40 @@ +2012-10-02 Jaroslav Lichtblau + * monit 5.5-2 systemd .service file added + +2012-10-02 Jaroslav Lichtblau + * monit 5.5-1 + +2012-05-20 Jaroslav Lichtblau + * monit 5.4-1 + +2012-03-18 Jaroslav Lichtblau + * monit 5.3.2-1 + +2011-11-20 Jaroslav Lichtblau + * monit 5.3.1-1 + +2011-10-09 Jaroslav Lichtblau + * monit 5.3-1 + +2011-07-19 Jaroslav Lichtblau + * monit 5.2.5-1 + +2011-03-21 Jaroslav Lichtblau + * monit 5.2.4-1 + +2010-11-24 Jaroslav Lichtblau + * monit 5.2.3-1 + +2010-09-26 Jaroslav Lichtblau + * monit 5.2-1 + +2010-08-30 Jaroslav Lichtblau + * monit 5.1.1-2 + * fixed FS#20666 + +2010-08-29 Jaroslav Lichtblau + * monit 5.1.1-1 + * fixed FS#20559 + +2009-12-21 Jaroslav Lichtblau + * monit 5.0.3-1 diff --git a/community/monit/monit.service b/community/monit/monit.service new file mode 100644 index 000000000..775435a4a --- /dev/null +++ b/community/monit/monit.service @@ -0,0 +1,13 @@ +[Unit] +Description=Pro-active monitoring utility for unix systems +After=network.target + +[Service] +Type=simple +ExecStart=/usr/bin/monit -I +ExecStop=/usr/bin/monit quit +ExecReload=/usr/bin/monit reload + +[Install] +WantedBy=multi-user.target + -- cgit v1.2.3-54-g00ecf