Commit 985049e0 authored by Daniel van Dorp's avatar Daniel van Dorp Committed by GitHub

Merge pull request #1003 from mholt/sysvinit-fix-setcap

dist/init/linux-sysvinit: execute setcap directly
parents f3a3bf62 3a4f8e8d
......@@ -22,7 +22,7 @@ LOGFILE=/var/log/$NAME.log
CONFIGFILE=/etc/caddy/Caddyfile
DAEMONOPTS="-agree=true -pidfile=$PIDFILE -log=$LOGFILE -conf=$CONFIGFILE"
USERBIND="$(which setcap) cap_net_bind_service=+ep"
USERBIND="setcap cap_net_bind_service=+ep"
STOP_SCHEDULE="${STOP_SCHEDULE:-QUIT/5/TERM/5/KILL/5}"
test -x $DAEMON || exit 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment