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
nexedi
caddy
Commits
18332df3
Commit
18332df3
authored
Mar 17, 2016
by
Matthew Holt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor output out of Start()
parent
b9f8c183
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
caddy/caddy.go
caddy/caddy.go
+9
-2
No files found.
caddy/caddy.go
View file @
18332df3
...
@@ -155,6 +155,15 @@ func Start(cdyfile Input) (err error) {
...
@@ -155,6 +155,15 @@ func Start(cdyfile Input) (err error) {
}
}
startedBefore
=
true
startedBefore
=
true
showInitializationOutput
(
groupings
)
return
nil
}
// showInitializationOutput just outputs some basic information about
// what is being served to stdout, as well as any applicable, non-essential
// warnings for the user.
func
showInitializationOutput
(
groupings
bindingGroup
)
{
// Show initialization output
// Show initialization output
if
!
Quiet
&&
!
IsRestart
()
{
if
!
Quiet
&&
!
IsRestart
()
{
var
checkedFdLimit
bool
var
checkedFdLimit
bool
...
@@ -175,8 +184,6 @@ func Start(cdyfile Input) (err error) {
...
@@ -175,8 +184,6 @@ func Start(cdyfile Input) (err error) {
}
}
}
}
}
}
return
nil
}
}
// startServers starts all the servers in groupings,
// startServers starts all the servers in groupings,
...
...
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