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

Re: Starting services after installing a package



On Fri, Feb 20, 2015 at 10:44 PM, Jose Guerrero wrote:

> @Paul: It is a new project for the institution I work for, the code is here:
> https://github.com/joseguerrero/kit-servicios on the branch 'empaquetado'.

Ah, if it isn't going to be uploaded to Debian you can do whatever you
want, including automatic setup at particular URLs.

> Originally I had not considered using a tool for configuration, because the
> app is meant to be used by common users rather than sysadmins, so I'm
> preseeding the configuration for nginx and uwsgi from this files
> respectively:

Debian caters to a variety of situations, including sysadmins with
different preferences for web server stuff, wsgi stuff and so on. So a
configuration tool would be necessary for uploading to Debian.

> https://github.com/joseguerrero/kit-servicios/blob/empaquetado/tribus/config/data/tribus.nginx.conf

I think that using Unix domain sockets is a better way to go as TCP
ports cannot be restricted by filesystem users. Using TCP ports for
uwsgi means local users might be able to get different access if they
connect directly to the uwsgi TCP port instead of going via nginx,
which could be slightly bad if you configure access control in nginx
and have other users on the machine.

> PD: Sorry for my bad english

Your English is better than my Spanish :)

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


Reply to: