mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-22 11:33:06 +08:00
FreeBSD init: PID file should not be executable (#2945)
This commit is contained in:
parent
008415f206
commit
4b68de8418
2
dist/init/freebsd/caddy
vendored
2
dist/init/freebsd/caddy
vendored
|
@ -80,7 +80,7 @@ caddy_startprecmd()
|
|||
rc_flags=""
|
||||
|
||||
if [ ! -e "${pidfile}" ]; then
|
||||
install -o "${caddy_user}" -g "${caddy_group}" "/dev/null" "${pidfile}"
|
||||
install -m 644 -o "${caddy_user}" -g "${caddy_group}" "/dev/null" "${pidfile}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user