mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Always use our Process.daemon because it's not busted
This commit is contained in:
parent
d6496632fd
commit
775534c1e1
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,8 @@
|
||||||
module Process
|
module Process
|
||||||
|
|
||||||
|
# This overrides the default version because it is broken if it
|
||||||
|
# exists.
|
||||||
|
|
||||||
def self.daemon(nochdir=false, noclose=false)
|
def self.daemon(nochdir=false, noclose=false)
|
||||||
exit if fork # Parent exits, child continues.
|
exit if fork # Parent exits, child continues.
|
||||||
|
|
||||||
|
@ -16,5 +20,5 @@ module Process
|
||||||
end
|
end
|
||||||
|
|
||||||
0
|
0
|
||||||
end unless respond_to?(:daemon)
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue