aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMaxime SoulĂ© <[email protected]>2019-12-28 19:54:28 +0100
committerMatt Holt <[email protected]>2019-12-28 11:54:28 -0700
commit4b68de84181938381f604064336b0342e389c551 (patch)
treedf93b8a83aed862c3e3ea8bf9a00ae21bab9e8a1
parent008415f206dec7c72c3b0abe36d5a40213abb7a2 (diff)
downloadcaddy-4b68de84181938381f604064336b0342e389c551.tar.gz
caddy-4b68de84181938381f604064336b0342e389c551.zip
FreeBSD init: PID file should not be executable (#2945)
-rwxr-xr-xdist/init/freebsd/caddy2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/init/freebsd/caddy b/dist/init/freebsd/caddy
index a2af50b51..654b4cf1a 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
}