mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 06:03:48 +03:00
FreeBSD init: PID file should not be executable (#2945)
This commit is contained in:
parent
008415f206
commit
4b68de8418
1 changed files with 1 additions and 1 deletions
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 a new issue