| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
| |
- Add wheezy repo to get bundler package which is
unavailable in squeeze repo
- Get bundler from wheezy repo and de-prioritise all other
wheezy packages
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use curl instead of wget in Vagrantfile to fetch the install script due
to a bug in the default version of wget on Debian Squeeze.
Fixes https://github.com/mysociety/alaveteli/issues/1691
> wget debian packages prior to 1.14-1 don't have SNI [1] support so the
> webserver don't know which ssl certificate needs to use
>
> – https://github.com/Hexxeh/rpi-update/issues/65#issuecomment-13332143
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Choose the OS you want to run with the ALAVETELI_VAGRANT_OS environment
variable.
Examples:
# Use default (Ubuntu 12.04 LTS (precise)
vagrant up
# Use Debian (7) Wheezy
ALAVETELI_VAGRANT_OS=wheezy64 vagrant up
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Replace the unused httpd.conf-example with the contents of
httpd-vhost.conf-example
Also rename the SSL vhost for continuity
|
| |
| |
| |
| | |
Too difficult to change to FSH standard at this point
|
| | |
|
| |
| |
| |
| | |
The manual install guide assumes alaveteli as the file owner and
foi as the database user, so do that here.
|
| | |
|
| |
| |
| |
| | |
Easier to see what mods are enabled if they’re not buried in
the middle of configuration
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Passenger's default MaxPoolSize is 6. At the time of writing
normal* instances of Alaveteli seem to take 150-200MB per
process, so we've set this conservatively at 3.
* ‘Normal’ is basically any vHost other than WDTK, which is
running at around 500MB per process
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Unlikely that reusers will use this, but left for documentation purposes
|
| | |
|
| |
| |
| |
| | |
These are/were mySociety generic and not required for standalone use
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Enable with:
mkdir -p /etc/apache2/vhost.d/alaveteli
cp /opt/alaveteli/config/httpd-force-ssl.conf-example \
/etc/apache2/vhost.d/alaveteli/force-ssl.conf
|
| | |
|
| |
| |
| | |
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.
|