mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
aur/uwsgi to 1.3-1
This commit is contained in:
parent
9eb817fb1b
commit
c2c1824b06
4 changed files with 26 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Angel Velasquez <angvp@archlinux.org>
|
||||
# Contributor: Vsevolod Balashov <vsevolod@balashov.name>, Kevin Zuber <uKev@knet.eu>
|
||||
pkgname=uwsgi
|
||||
pkgver=1.2.6
|
||||
pkgver=1.3
|
||||
pkgrel=1
|
||||
pkgdesc="a fast (pure C), self-healing, developer-friendly WSGI server"
|
||||
arch=(i686 x86_64)
|
||||
|
@ -10,15 +10,17 @@ license=(GPL2)
|
|||
depends=(python2 libxml2)
|
||||
conflicts=(python-$pkgname)
|
||||
makedepends=(gcc python2)
|
||||
backup=(etc/conf.d/uwsgid etc/uwsgi/uwsgi.ini)
|
||||
backup=(etc/conf.d/uwsgid etc/uwsgi/emperor.ini)
|
||||
source=(http://projects.unbit.it/downloads/$pkgname-$pkgver.tar.gz
|
||||
uwsgid.sh
|
||||
uwsgi.ini
|
||||
emperor.ini
|
||||
emperor.uwsgi.service
|
||||
uwsgid.conf)
|
||||
md5sums=('e704bf8e315129a16ea233342580e5d1'
|
||||
md5sums=('0e83c1ef1b7b01a16c87884d23030ce2'
|
||||
'3dd03dce734b50910b3a5e12da0fc062'
|
||||
'495afaafac6da631a859ab72c5983c36'
|
||||
'5db37c7dbfd432623883d125d7127fbf')
|
||||
'85a7401c62dc4834259fc27d9c0703ee'
|
||||
'a3ae324e43ba841aacd917542bd7e878')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
|
@ -34,5 +36,6 @@ package() {
|
|||
mkdir -p $pkgdir/etc/conf.d
|
||||
install -Dm644 $srcdir/uwsgid.conf $pkgdir/etc/conf.d/uwsgid
|
||||
mkdir -p $pkgdir/etc/uwsgi/apps
|
||||
install -Dm644 $srcdir/uwsgi.ini $pkgdir/etc/uwsgi/uwsgi.ini
|
||||
install -Dm644 $srcdir/emperor.ini $pkgdir/etc/uwsgi/emperor.ini
|
||||
install -Dm644 $srcdir/emperor.uwsgi.service $pkgdir/etc/systemd/system/emperor.uwsgi.service
|
||||
}
|
||||
|
|
3
aur/uwsgi/emperor.ini
Normal file
3
aur/uwsgi/emperor.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[uwsgi]
|
||||
emperor = /etc/uwsgi/apps
|
||||
master = 1
|
13
aur/uwsgi/emperor.uwsgi.service
Normal file
13
aur/uwsgi/emperor.uwsgi.service
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=uWSGI Emperor
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/uwsgi --ini /etc/uwsgi/emperor.ini
|
||||
Restart=always
|
||||
Type=notify
|
||||
StandardError=syslog
|
||||
NotifyAccess=main
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,3 +1,3 @@
|
|||
UWSGI_INI=/etc/uwsgi/uwsgi.ini
|
||||
UWSGI_INI=/etc/uwsgi/emperor.ini
|
||||
UWSGI_PIDFILE=/var/run/uwsgid.pid
|
||||
UWSGI_DAEMONIZE=/var/log/uwsgid.log
|
||||
|
|
Loading…
Reference in a new issue