| Commit message (Collapse) | Author | Age | Lines |
... | |
| | | | | |
| | | | | |
| | | | | | |
Only need this if FORCE_SSL: true is set
|
| | | | | |
| | | | | |
| | | | | | |
Using alaveteli subdir means more setup; easier to just prefix the file name with alaveteli. Also use .log rather than _log to keep with original access.log and error.log convention.
|
| | | | | |
| | | | | |
| | | | | | |
For dumb Debian convention
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | | |
Not available in Debian version of passenger
|
| | | | | |
| | | | | |
| | | | | | |
Not available in Debian version of passenger
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
httpd.conf is only a partial configuration designed to be included in to
an existing vhost directive. This provides a (nearly) drop-in vhost
configuration for httpd.
|
| | | | | | |
|
| |\ \ \ \ \ |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Now uses ugly so convert it with the rake task
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Replace "web server" with the slightly more correct "app server"
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Usage of the $vhost_dir and $vcspath is enough to get the full
path to the app without making the assumption that the app is in
a directory named ‘alaveteli’
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- Use $NAME in $SITE_HOME for future daemon name change
- Mute thin output
- Return true from daemon commands
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
> These scripts should not fail obscurely when the configuration files
> remain but the package has been removed, as configuration files remain
> on the system after the package has been removed. Only when dpkg is
> executed with the --purge option will configuration files be removed.
> In particular, as the /etc/init.d/package script itself is usually a
> conffile, it will remain on the system if the package is removed but
> not purged. Therefore, you should include a test statement at the top
> of the script, like this:
>
> test -f program-executed-later-in-script || exit 0
https://www.debian.org/doc/debian-policy/ch-opersys.html#s-writing-init
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Use long form options for clarity
Use thin’s built in start and stop mechanisms
Use thin’s built in process owner options
Bind to localhost only
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
No reason to use non-default
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Unlikely to want to use sysvinit in the current development setup, so
default to starting in production mode for users who just copy this file
on install.
|
| |/ / / / / |
|
| |\ \ \ \ \ |
|
| | | |_|/ /
| | |/| | |
| | | | | |
| | | | | | |
Some Public Body names contain commas (or other characters) which lead
to a malformed CSV where parts of the body name are in later columns.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Required if you're using apache and passenger - not if you're using
nginx and thin.
|
|\ \ \ \ \
| | |_|/ /
| |/| | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
IE7 doesn't implement min-height, so force the iframe height. We don't
want to set min-height for mobile as it's just a workaround for
desktop browsers setting a too-small height.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
If the directories do not exist the daemon cannot start.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Allows the log and pid file names to be set dynamically by the
config_files:convert_init_script rake task.
ENV[‘SITE’] can be specified to name the particular install – e.g.
rather than 'alaveteli' you might name the site 'foi' – so now the log
and pid files are created with the correct name rather than simply
'purge-varnish'
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Deployment system should handle linking the original location to
wherever necessary on the specific platform.
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
pids need to persist across deploys so that we can kill/restart running
processes on deployment
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
If the directories do not exist the daemon cannot start.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
ENV[‘SITE’] can be specified for the crontab (and elsewhere) so
allow the option here too.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Deployment system should handle linking the original location to
wherever necessary on the specific platform.
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
|
| | | | | | | |
|
| | |_|_|_|/
| |/| | | | |
|
|\ \ \ \ \ \ |
|
| | |_|/ / /
| |/| | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Selecting request events for a particular body is slow
because we need to filter the events by event_type and
don't currently have an index on that field. This should
speed that up. Closes #1709
|
|\ \ \ \ \ \
| | |/ / / /
| |/| | | | |
|
| | | | | | |
|