unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Re: RFS: unicorn
       [not found] ` <20160212183137.GA15177@percival.namespace.at>
@ 2016-02-12 21:34   ` Eric Wong
  2016-02-14  5:52     ` Pirate Praveen
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Wong @ 2016-02-12 21:34 UTC (permalink / raw)
  To: debian-ruby
  Cc: Rahulkrishnan R A, Hleb Valoshka, Christian Hofstaedtler,
	unicorn-public

Christian Hofstaedtler <zeha@debian.org> wrote:
> Hleb,
> 
> 
> * Rahulkrishnan R A <rahulkrishnanfs@gmail.com> [160212 16:52]:
> > I have updated unicorn to the latest version. It is lintian clean and
> > tested with pbuilder. Further information about this package can be
> > accessed from the URL  :
> > *https://anonscm.debian.org/cgit/pkg-ruby-extras/unicorn.git
> 
> I'd value your feedback on this.

(upstream chiming in, too; +Cc unicorn-public@bogomips.org :)

Can you take a look at updating the debian/unicorn.service to be
based on the examples/unicorn@.service and examples/unicorn.socket
files in v5.0.1 upstream?

I'm no systemd expert, but the @.service file allowing multiple
instances makes more sense to me since USR2 upgrades won't work
well under systemd.

And of course socket activation rocks :>

ref:
http://bogomips.org/unicorn-public/?q=%27s%3Anative+systemd+service%27&x=t

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RFS: unicorn
  2016-02-12 21:34   ` RFS: unicorn Eric Wong
@ 2016-02-14  5:52     ` Pirate Praveen
  0 siblings, 0 replies; 2+ messages in thread
From: Pirate Praveen @ 2016-02-14  5:52 UTC (permalink / raw)
  To: debian-ruby; +Cc: unicorn-public



On 2016, ഫെബ്രുവരി 13 3:04:11 AM IST, Eric Wong <e@80x24.org> wrote:
>Christian Hofstaedtler <zeha@debian.org> wrote:
>> Hleb,
>> 
>> 
>> * Rahulkrishnan R A <rahulkrishnanfs@gmail.com> [160212 16:52]:
>> > I have updated unicorn to the latest version. It is lintian clean
>and
>> > tested with pbuilder. Further information about this package can be
>> > accessed from the URL  :
>> > *https://anonscm.debian.org/cgit/pkg-ruby-extras/unicorn.git
>> 
>> I'd value your feedback on this.
>
>(upstream chiming in, too; +Cc unicorn-public@bogomips.org :)
>
>Can you take a look at updating the debian/unicorn.service to be
>based on the examples/unicorn@.service and examples/unicorn.socket
>files in v5.0.1 upstream?

I think we should make a way to manage multiple applications like how nginx or apache allows multiple sites by just adding files to /etc/nginx or apache/sites-available.

We could make /etc/unicorn/apps-available and any .rb file placed there will be considered config for an app. 

When an app is enabled by adding a link to /etc/unicorn/apps-enabled, unicorn service will start that app.

We can provide a default app if there is value for that or not start any apps.

>I'm no systemd expert, but the @.service file allowing multiple
>instances makes more sense to me since USR2 upgrades won't work
>well under systemd.
>
>And of course socket activation rocks :>
>
>ref:
>http://bogomips.org/unicorn-public/?q=%27s%3Anative+systemd+service%27&x=t

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-14  5:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAJfKhMSyhNgijOeaZ3zA4g7d_0vR7ePKMDRGvUWy4n3K4Bem9A@mail.gmail.com>
     [not found] ` <20160212183137.GA15177@percival.namespace.at>
2016-02-12 21:34   ` RFS: unicorn Eric Wong
2016-02-14  5:52     ` Pirate Praveen

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).