[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: unicorn




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.


Reply to: