mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Upgrading redis/nginx.
This commit is contained in:
parent
1c713eac43
commit
b63f141323
1 changed files with 2 additions and 2 deletions
4
fabfile.py
vendored
4
fabfile.py
vendored
|
@ -600,7 +600,7 @@ def setup_sudoers(user=None):
|
|||
sudo('su - root -c "echo \\\\"%s ALL=(ALL) NOPASSWD: ALL\\\\" >> /etc/sudoers"' % (user or env.user))
|
||||
|
||||
def setup_nginx():
|
||||
NGINX_VERSION = '1.4.1'
|
||||
NGINX_VERSION = '1.6.2'
|
||||
with cd(env.VENDOR_PATH), settings(warn_only=True):
|
||||
sudo("groupadd nginx")
|
||||
sudo("useradd -g nginx -d /var/www/htdocs -s /bin/false nginx")
|
||||
|
@ -918,7 +918,7 @@ def setup_mongo_mms():
|
|||
sudo('start mongodb-mms-monitoring-agent')
|
||||
|
||||
def setup_redis(slave=False):
|
||||
redis_version = '2.6.16'
|
||||
redis_version = '2.8.19'
|
||||
with cd(env.VENDOR_PATH):
|
||||
run('wget http://download.redis.io/releases/redis-%s.tar.gz' % redis_version)
|
||||
run('tar -xzf redis-%s.tar.gz' % redis_version)
|
||||
|
|
Loading…
Add table
Reference in a new issue