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

Re: Advice for package needing stuff installed in /srv (node-shiny-server)



On Wed, Apr 27, 2022 at 06:10:37PM +0100, Wookey wrote:
> On 2022-04-27 21:40 +0530, Nilesh Patra wrote:
> > Hi All,
> > 
> > But, the welcome page config (https://github.com/rstudio/shiny-server/tree/master/samples)
> > need to be stored in /srv/shiny-server for this welcome display to happen.
> > 
> > (Note that I do not want to patch code to change the default behaviour here.)
> 
> Why not? This is what distro packages do - make sure things are installed in sensible places.
> 
> And patching a path is nice and simple (although you might also have to patch some docs to match).

No, sorry - that'd be a bit too much delta here, meaning shiny-server would be
able to serve from two loc (I do not want that)
As a distribution I do not want to be doing
things completely orthogonal from the way upstream does things.
Not to mention that derivatives would inherit directly.

Atleast this level of effort does not seem justified for just a welcome page.

> I'm not sure what the right path is. The default webserver path in debian
> has been /var/www/html/ for decades so I'd use that, but you might
> have reasons to make it /var/www/shiny-server instead if you want
> shiny-server to be co-installable with other web-servers, and serve different stuff?

Yeah that makes sense but again, same reason as I gave above. Maybe we (me and people in CC)
could ask upstream if they are willing to support something like this at their end as well.

Regards,
Nilesh

Attachment: signature.asc
Description: PGP signature


Reply to: