Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gitlab-com
marketo-tools
Commits
13e41ea3
Commit
13e41ea3
authored
Dec 03, 2015
by
Robert Speicher
Browse files
Update Unicorn config
parent
196a79a5
Changes
1
Show whitespace changes
Inline
Side-by-side
config/unicorn.rb
View file @
13e41ea3
# TODO (rspeicher): Change path
@
dir
=
"/path/to/app/"
dir
=
"/path/to/app/"
worker_processes
2
working_directory
@
dir
working_directory
dir
timeout
30
listen
"
#{
@dir
}
tmp
/
sockets
/
unicorn.sock
"
,
backlog:
64
listen
File
.
join
(
dir
,
%w(
tmp
sockets
unicorn.sock
)
)
,
backlog:
64
pid
"
#{
@dir
}
tmp
/
pids
/
unicorn.pid
"
pid
File
.
join
(
dir
,
%w(
tmp
pids
unicorn.pid
)
)
stderr_path
"
#{
@dir
}
log
/
unicorn.stderr.log
"
stdout_path
"
#{
@dir
}
log
/
unicorn.stdout.log
"
stderr_path
File
.
join
(
dir
,
%w(
log
unicorn.stderr.log
)
)
stdout_path
File
.
join
(
dir
,
%w(
log
unicorn.stdout.log
)
)
Write
Preview
Supports
Markdown
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