Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
caddy
Commits
985049e0
Commit
985049e0
authored
Aug 05, 2016
by
Daniel van Dorp
Committed by
GitHub
Aug 05, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1003 from mholt/sysvinit-fix-setcap
dist/init/linux-sysvinit: execute setcap directly
parents
f3a3bf62
3a4f8e8d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dist/init/linux-sysvinit/caddy
dist/init/linux-sysvinit/caddy
+1
-1
No files found.
dist/init/linux-sysvinit/caddy
View file @
985049e0
...
@@ -22,7 +22,7 @@ LOGFILE=/var/log/$NAME.log
...
@@ -22,7 +22,7 @@ LOGFILE=/var/log/$NAME.log
CONFIGFILE
=
/etc/caddy/Caddyfile
CONFIGFILE
=
/etc/caddy/Caddyfile
DAEMONOPTS
=
"-agree=true -pidfile=
$PIDFILE
-log=
$LOGFILE
-conf=
$CONFIGFILE
"
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
}
"
STOP_SCHEDULE
=
"
${
STOP_SCHEDULE
:-
QUIT
/5/TERM/5/KILL/5
}
"
test
-x
$DAEMON
||
exit
0
test
-x
$DAEMON
||
exit
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment