mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/lighttpd: add lighttpd to www-data group
and make sure www-data is created on upgrade ref #2245
This commit is contained in:
parent
6394d7d8c3
commit
e15798a474
@ -2,12 +2,12 @@
|
||||
pkgname=lighttpd
|
||||
pkgver=1.4.33
|
||||
_streamver=2.2.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="a secure, fast, compliant and very flexible web-server"
|
||||
url="http://www.lighttpd.net/"
|
||||
arch="all"
|
||||
license="custom"
|
||||
install="$pkgname.pre-install"
|
||||
install="$pkgname.pre-install $pkgname.pre-upgrade"
|
||||
depends=
|
||||
pkgusers="lighttpd"
|
||||
pkggroups="lighttpd"
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
addgroup -g 82 -S www-data 2>/dev/null
|
||||
adduser -H -h /var/www/localhost/htdocs -s /sbin/nologin -D lighttpd 2>/dev/null
|
||||
addgroup lighttpd www-data 2>/dev/null
|
||||
|
||||
exit 0
|
||||
|
||||
1
main/lighttpd/lighttpd.pre-upgrade
Symbolic link
1
main/lighttpd/lighttpd.pre-upgrade
Symbolic link
@ -0,0 +1 @@
|
||||
lighttpd.pre-install
|
||||
Loading…
x
Reference in New Issue
Block a user