mirror of
https://github.com/caddyserver/caddy.git
synced 2025-03-14 09:38:56 +01: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=""
|
rc_flags=""
|
||||||
|
|
||||||
if [ ! -e "${pidfile}" ]; then
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue