1
0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-03-13 09:08:50 +01:00

FreeBSD init: PID file should not be executable ()

This commit is contained in:
Maxime Soulé 2019-12-28 19:54:28 +01:00 committed by Matt Holt
parent 008415f206
commit 4b68de8418

View file

@ -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
}