Skip to content

Commit

Permalink
Fix --user and --group option not changing daemon process privileges
Browse files Browse the repository at this point in the history
  • Loading branch information
macournoyer committed Jan 19, 2008
1 parent da5cf49 commit 787a428
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
== 0.5.4 Flying Mustard release
* Fix --user and --group option not changing daemon process privileges

== 0.5.3 Purple Yogurt release
* win32 pre-compiled gem now available
* change rake task configuration to allow win32 gem build
Expand Down
2 changes: 1 addition & 1 deletion bin/thin
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def start(options)
server.timeout = options[:timeout]

if options[:daemonize]
server.change_privilege options[:user], options[:group] if options[:user] && options[:group]
server.daemonize
server.change_privilege options[:user], options[:group] if options[:user] && options[:group]
end

server.app = Rack::Adapter::Rails.new(options.merge(:root => options[:chdir]))
Expand Down
4 changes: 2 additions & 2 deletions lib/thin/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ module Thin
module VERSION #:nodoc:
MAJOR = 0
MINOR = 5
TINY = 3
TINY = 4

STRING = [MAJOR, MINOR, TINY].join('.')

CODENAME = 'Purple Yogurt'
CODENAME = 'Flying Mustard'
end
end

0 comments on commit 787a428

Please sign in to comment.