On 5/21/06, bradley taylor <[EMAIL PROTECTED]> wrote:
[snip]
> > Also, I'll be adding options for user context to the service stuff,
> > what will allow run a mongrel service on accounts different than
> > LocalService.
>
> You should be able to add --user/--group and not have any conflicts.
>
> The question is whether Process::GID and Process::UID are supported
> on Win32. The Ruby doc describes them as "a collection of module
> functions which can be used to portably get, set, and switch the
> current process's real, effective, and saved group IDs." Although  I
> don't know if the "portably" part includes Win32.  If not, it should
> be possible  to add a platform check in
> Mongrel::Configurator::change_privilege that calls
> ImpersonateSecurityContext (or similar function) instead.

For running plain mongrel_rails isn't possible, but instead when
registering the service, so the service manager will do the
impersonation for you when start the service.

Also, I'll like to address the dependencies of the service, so
networking or other service get up before we try to bind a socket
(this happens sometimes when you set your service to start
automatically).

Later,

-- 
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi

_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to