diff options
author | Maxime Soulé <[email protected]> | 2019-12-28 19:54:28 +0100 |
---|---|---|
committer | Matt Holt <[email protected]> | 2019-12-28 11:54:28 -0700 |
commit | 4b68de84181938381f604064336b0342e389c551 (patch) | |
tree | df93b8a83aed862c3e3ea8bf9a00ae21bab9e8a1 | |
parent | 008415f206dec7c72c3b0abe36d5a40213abb7a2 (diff) | |
download | caddy-4b68de84181938381f604064336b0342e389c551.tar.gz caddy-4b68de84181938381f604064336b0342e389c551.zip |
FreeBSD init: PID file should not be executable (#2945)
-rwxr-xr-x | dist/init/freebsd/caddy | 2 |
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 } |