diff options
Diffstat (limited to 'community/monit')
-rw-r--r-- | community/monit/PKGBUILD | 11 | ||||
-rw-r--r-- | community/monit/monit.changelog | 3 | ||||
-rw-r--r-- | community/monit/monit.service | 13 |
3 files changed, 23 insertions, 4 deletions
diff --git a/community/monit/PKGBUILD b/community/monit/PKGBUILD index 726379806..44e524112 100644 --- a/community/monit/PKGBUILD +++ b/community/monit/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 76973 2012-10-02 18:27:38Z jlichtblau $ +# $Id: PKGBUILD 79004 2012-10-28 18:41:19Z jlichtblau $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org> # Contributor: Marco Bartholomew <marco@marcobartholomew.com> pkgname=monit pkgver=5.5 -pkgrel=1 +pkgrel=2 pkgdesc="Utility for managing and monitoring, processes, files, directories and devices on a *NIX system" arch=('i686' 'x86_64') url="http://mmonit.com/monit/" @@ -14,9 +14,10 @@ depends=('openssl') backup=('etc/monitrc') changelog=$pkgname.changelog source=(http://mmonit.com/$pkgname/dist/$pkgname-$pkgver.tar.gz \ - monitd) + monitd monit.service) sha256sums=('8276b060b3f0e6453c9748d421dec044ddae09d3e4c4666e13472aab294d7c53' - 'b235b2fdeec49015d6b74f028d161b289663692f9ee2d2d78cf52d8db87ca496') + 'b235b2fdeec49015d6b74f028d161b289663692f9ee2d2d78cf52d8db87ca496' + 'cf607209e9e5d39e708152dc181525570371fab750f828e890e2b6a00b81ebc4') build() { cd ${srcdir}/$pkgname-$pkgver @@ -33,4 +34,6 @@ package() { install -D -m755 ${srcdir}/monitd ${pkgdir}/etc/rc.d/monitd 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 index 7c26c1a39..07cea8e3d 100644 --- a/community/monit/monit.changelog +++ b/community/monit/monit.changelog @@ -1,4 +1,7 @@ 2012-10-02 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * monit 5.5-2 systemd .service file added + +2012-10-02 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> * monit 5.5-1 2012-05-20 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> 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 + |