[arch-commits] Commit in xsp/trunk (PKGBUILD xsp.service)
Tom Gundersen
tomegun at archlinux.org
Sat Oct 6 23:50:35 UTC 2012
Date: Saturday, October 6, 2012 @ 19:50:35
Author: tomegun
Revision: 168254
upgpkg: xsp 2.10.2-4
add systemd service file
Added:
xsp/trunk/xsp.service
Modified:
xsp/trunk/PKGBUILD
-------------+
PKGBUILD | 19 +++++++++++--------
xsp.service | 8 ++++++++
2 files changed, 19 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-10-06 22:17:40 UTC (rev 168253)
+++ PKGBUILD 2012-10-06 23:50:35 UTC (rev 168254)
@@ -4,7 +4,7 @@
pkgname=xsp
pkgver=2.10.2
-pkgrel=3
+pkgrel=4
pkgdesc="A simple webserver based on mono - provides ASP.NET support"
arch=(i686 x86_64)
license=('custom')
@@ -12,12 +12,8 @@
depends=('mono>=2.10.2' 'sqlite')
options=(!makeflags)
install=${pkgname}.install
-source=(http://ftp.novell.com/pub/mono/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2 \
- ${pkgname}.rc.d ${pkgname}.conf.d ${pkgname}.webapp)
-md5sums=('4fe62fc95ad5dc136d8a7f3299d523b6'
- '9575bd7d6f64d51ba05bdd6370665858'
- '35d921df0fefc30f47a438c95d420efc'
- 'c917c07f68b945691506c29750db482f')
+source=(http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2
+ ${pkgname}.rc.d ${pkgname}.conf.d ${pkgname}.webapp ${pkgname}.service)
build() {
# get rid of that .wapi errors; thanks to brice
@@ -57,5 +53,12 @@
install -D -m644 ${srcdir}/${pkgname}.webapp \
${pkgdir}/etc/${pkgname}/${pkgname}.webapp
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
-
+ # install systemd service file
+ install -D -m644 ${srcdir}/${pkgname}.service \
+ ${pkgdir}/usr/lib/systemd/system/xsp.service
}
+md5sums=('4fe62fc95ad5dc136d8a7f3299d523b6'
+ '9575bd7d6f64d51ba05bdd6370665858'
+ '35d921df0fefc30f47a438c95d420efc'
+ 'c917c07f68b945691506c29750db482f'
+ '9d83bd36d209f8d36a11dfbc4fa50819')
Added: xsp.service
===================================================================
--- xsp.service (rev 0)
+++ xsp.service 2012-10-06 23:50:35 UTC (rev 168254)
@@ -0,0 +1,8 @@
+[Unit]
+Description=XSP Web Server
+
+[Service]
+ExecStart=/usr/bin/xsp --appconfigdir /etc/xsp --nonstop
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list