summaryrefslogtreecommitdiff
path: root/community/prosody
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-24 00:04:12 +0000
committerroot <root@rshg054.dnsready.net>2012-06-24 00:04:12 +0000
commit4319f36e44d4e7c70bf010c3286bb1739c59d4de (patch)
tree570e5a756192067d69cbabeab8fcf6b81cec3c51 /community/prosody
parent11357a5ab02a7d536375fb8333b2fb67278b4a36 (diff)
Sun Jun 24 00:04:11 UTC 2012
Diffstat (limited to 'community/prosody')
-rw-r--r--community/prosody/PKGBUILD11
-rw-r--r--community/prosody/prosody.service13
2 files changed, 20 insertions, 4 deletions
diff --git a/community/prosody/PKGBUILD b/community/prosody/PKGBUILD
index 1eb5bc5c2..77482ad20 100644
--- a/community/prosody/PKGBUILD
+++ b/community/prosody/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 72148 2012-06-09 06:00:05Z spupykin $
+# $Id: PKGBUILD 72795 2012-06-22 12:52:02Z dreisner $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Dwayne Bent <dbb.0@liqd.org>
# Contributor: Paul-Sebastian Manole <brokenthorn@gmail.com>
pkgname=prosody
pkgver=0.8.2
-pkgrel=3
+pkgrel=4
pkgdesc="Lightweight and extensible Jabber/XMPP server written in Lua."
arch=('i686' 'x86_64')
url="http://prosody.im/"
@@ -21,12 +21,14 @@ source=("http://prosody.im/depot/${pkgver}/prosody-${pkgver}.tar.gz"
'prosody.rcd'
'prosody.logrotated'
'fix-config.patch'
- 'prosody.tmpfile.d')
+ 'prosody.tmpfile.d'
+ 'prosody.service')
md5sums=('6e907bf0d0acf24f1011083020ba6ffb'
'd2b5f9c8e42bb31819e715eb1756ee53'
'26466fdbea87963a3ca6f48f76fe4a29'
'59a1bf2dfd0bd386cef6fa646e2a3752'
- 'e2f5a1df410b05696a30dcb058841084')
+ 'e2f5a1df410b05696a30dcb058841084'
+ 'e74045f27cb60908d535969906781f75')
build() {
cd "$srcdir/prosody-$pkgver"
@@ -54,4 +56,5 @@ package() {
install -Dm0644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
install -Dm0644 $srcdir/prosody.tmpfile.d $pkgdir//usr/lib/tmpfiles.d/prosody.conf
+ install -Dm0644 $srcdir/prosody.service $pkgdir/usr/lib/systemd/system/prosody.service
}
diff --git a/community/prosody/prosody.service b/community/prosody/prosody.service
index e69de29bb..f54159f55 100644
--- a/community/prosody/prosody.service
+++ b/community/prosody/prosody.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=XMPP (Jabber) Server
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/prosody/prosody.pid
+ExecStart=/usr/bin/prosodyctl start
+ExecStop=/usr/bin/prosodyctl stop
+
+[Install]
+WantedBy=multi-user.target
+