diff --git a/dist/init/freebsd/caddy b/dist/init/freebsd/caddy index a2af50b5..654b4cf1 100755 --- a/dist/init/freebsd/caddy +++ b/dist/init/freebsd/caddy @@ -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 }