зеркало из https://github.com/mozilla/fxa.git
add post-create hook so redis will be installed at VM creation time
This commit is contained in:
Родитель
e3b8835a9a
Коммит
be4eeac686
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
"processes": [
|
||||
"server.js"
|
||||
]
|
||||
],
|
||||
"hooks": {
|
||||
"postcreate": "./scripts/post_create.sh"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
wget http://redis.googlecode.com/files/redis-2.4.14.tar.gz
|
||||
tar xvzf redis-2.4.14.tar.gz
|
||||
cd redis-2.4.14
|
||||
sudo make install
|
||||
cd utils
|
||||
sudo ln -s /usr/local/bin/redis-server /usr/bin/redis-server
|
||||
sudo ./install_server.sh
|
||||
|
Загрузка…
Ссылка в новой задаче