From 8674fd5de57f45b21358377f146a853860e7966b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Sun, 12 May 2013 16:09:25 +0200 Subject: testing/hiawatha: run server as nobody --- testing/hiawatha/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testing/hiawatha') diff --git a/testing/hiawatha/APKBUILD b/testing/hiawatha/APKBUILD index f7101313c2..e071994a04 100644 --- a/testing/hiawatha/APKBUILD +++ b/testing/hiawatha/APKBUILD @@ -3,7 +3,7 @@ pkgname=hiawatha pkgver=9.1 -pkgrel=0 +pkgrel=1 pkgdesc='Secure and advanced webserver' url='https://www.hiawatha-webserver.org/' arch=all @@ -37,9 +37,9 @@ package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir/" install || return 1 - sed -i 's|#ServerId = www-data|ServerId = http|' \ + sed -i 's|#ServerId = www-data|ServerId = nobody|' \ "$pkgdir"/etc/hiawatha/hiawatha.conf || return 1 - sed -i 's|www-data|http|g' logrotate.d/hiawatha || return 1 + sed -i 's|www-data|nobody|g' logrotate.d/hiawatha || return 1 install -Dm644 logrotate.d/hiawatha \ "$pkgdir"/etc/logrotate.d/hiawatha || return 1 install -Dm755 "$srcdir"/hiawatha.initd \ -- cgit v1.2.3