bitlbee: Adjust permissions of ${VARBASE}/run/bitlbee
Similarly to ${STATEDIR}, ${VARBASE}/run/bitlbee should be owned by bitlbee:nobody. This fixes the case when bitlbee is started in daemon mode (via rc.d/bitlbee) as `bitlbee' User. Now `service bitlbee start|stop' works properly (previously the pidfile wasn't created in that case). Approved by <tonio>, thanks!
This commit is contained in:
parent
be17b96494
commit
fc7c105839
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.74 2018/04/17 22:29:35 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.75 2018/05/18 17:54:05 leot Exp $
|
||||
|
||||
DISTNAME= bitlbee-3.5.1
|
||||
PKGREVISION= 1
|
||||
|
@ -41,6 +41,7 @@ DOCDIR= ${PREFIX}/share/doc/bitlbee
|
|||
STATEDIR= ${VARBASE}/db/bitlbee
|
||||
|
||||
OWN_DIRS_PERMS= ${STATEDIR} bitlbee nobody 700
|
||||
OWN_DIRS_PERMS+= ${VARBASE}/run/bitlbee bitlbee nobody 700
|
||||
|
||||
PKG_GROUPS= nobody
|
||||
PKG_USERS= bitlbee:nobody
|
||||
|
|
Loading…
Reference in a new issue