mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 01:53:13 -04:00
sysutils/zrepl: pidfile should be world-readable
PR: 255981
This commit is contained in:
parent
942a91a3c4
commit
2a866a1b4f
2 changed files with 3 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
PORTNAME= zrepl
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.4.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= lcook@FreeBSD.org
|
||||
|
|
|
@ -54,8 +54,8 @@ extra_commands="configtest"
|
|||
zrepl_precmd()
|
||||
{
|
||||
if [ ! -d "/var/run/zrepl/stdinserver" ]; then
|
||||
install -d -g ${zrepl_group} -o ${zrepl_user} -m 0700 -- "/var/run/zrepl";
|
||||
install -d -g ${zrepl_group} -o ${zrepl_user} -m 0700 -- "/var/run/zrepl/stdinserver";
|
||||
install -d -g ${zrepl_group} -o ${zrepl_user} -m 0755 -- "/var/run/zrepl";
|
||||
install -d -g ${zrepl_group} -o ${zrepl_user} -m 0755 -- "/var/run/zrepl/stdinserver";
|
||||
fi
|
||||
|
||||
if [ ! -e "${pidfile}" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue