aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-10-13 01:11:12 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-10-13 02:14:23 +0200
commit6012f31435a177749fad326a37dfbb313b85ff5a (patch)
tree55304d1474eacb8019f3e09dcba2f9dc0a470236
parent3cba60e94439ac5893d39ce8a54eb92b6b8ad468 (diff)
downloadaports-6012f31435a177749fad326a37dfbb313b85ff5a.tar.bz2
main/znc: specify home directory for znc user
-rw-r--r--main/znc/APKBUILD2
-rw-r--r--main/znc/znc.pre-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/znc/APKBUILD b/main/znc/APKBUILD
index d622cf2..876926f 100644
--- a/main/znc/APKBUILD
+++ b/main/znc/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=znc
pkgver=1.6.5
-pkgrel=1
+pkgrel=2
pkgdesc="An advanced IRC bouncer"
url="http://znc.in"
arch="all"
diff --git a/main/znc/znc.pre-install b/main/znc/znc.pre-install
index c47e5e1..e65de69 100644
--- a/main/znc/znc.pre-install
+++ b/main/znc/znc.pre-install
@@ -1,6 +1,6 @@
#!/bin/sh
addgroup -S znc 2>/dev/null
-adduser -S -D -H -s /sbin/nologin -G znc -g znc znc 2>/dev/null
+adduser -S -D -H -h /var/lib/znc -s /sbin/nologin -G znc -g znc znc 2>/dev/null
exit 0