Commit Graph
28 Commits
Author SHA1 Message Date
benschermel 164eb146ea re-label keydb-pro-server to keydb-server
Former-commit-id: eb6f61ad372f0f4e573b9b731eac6c7f2ada0d9f
2021-03-16 01:57:26 +00:00
John Sully 9ea7b161f5 rename to pro binary
Former-commit-id: a8854bfd83de72d6aa418ee6d9b44fae1f622787
2020-02-04 00:30:13 -05:00
John Sully d815f5e0b5 Merge remote-tracking branch 'redis/6.0' into redis_merge
Former-commit-id: 6c77453720e0451158376df5511ed8c121d47d35
2020-01-27 02:55:48 -05:00
Petr Vaněk 490db098b6 Rename redis.conf to keydb.conf
Former-commit-id: 22632f5f20284bbb19234056135aacc418de3035
2019-12-21 15:00:24 -05:00
Johannes Truschnigg 54eb43248b Do not install SysV init-scripts on systemd-enabled hosts
Also, hint at example service unit files if systemd is detected. Thanks
to @mika for spotting a bug in the original iteration of this patch.
2019-11-19 18:55:44 +02:00
Edgard Lorraine Messias 50c3cf61cc Fixed "Provides" name in chkconfig info
Former-commit-id: 4cb0c9444346c928428c53aa86024effb2339ff5
2019-10-01 13:44:58 -04:00
John Sully 4d2e119563 Merge branch 'unstable' of https://github.com/antirez/redis into unstable
Lots of fixes and improvements from upstream.


Former-commit-id: 596c910774725443cb7a9e292f774dbefe57d81e
2019-03-13 18:08:22 -04:00
Brad Solomon 7a9a0f891d Note that install_server.sh is not for Mac OSX
It will fail pretty quickly since there is no -f
readlink flag there.
2019-03-09 10:21:15 -05:00
John Sully 0411a1b87e complete rebranding with tests passing
Former-commit-id: 1a90d294fce94e1d8905df28e4922609c4b5b8df
2019-02-09 10:11:46 -05:00
Salvatore Sanfilippo 4e01236ba9 Merge pull request #1934 from badboy/install-script-1922
Don't use extended Regexp Syntax
2017-07-24 15:20:31 +02:00
Michiel De Mey 80ce0f7c13 Added documentation for non-interactive install procedure 2016-06-10 10:11:46 +02:00
Michiel De Mey 8bc30256b7 Allow non-interactive execution of install_server
This PR adds the ability to execute the installation script non-interactively, useful for automated provisioning scripts such as Chef, Puppet, Ansible, Salt, etc.
Simply feed the environment variables into the install script to skip the prompts.

For debug and verification purposes, the script will still output the selected config variables.
The plus side is that the environment variables also support command substitution (see REDIS_EXECUTABLE).

```
sudo REDIS_PORT=1234 REDIS_CONFIG_FILE=/etc/redis/1234.conf REDIS_LOG_FILE=/var/log/redis_1234.log REDIS_DATA_DIR=/var/lib/redis/1234 REDIS_EXECUTABLE=`command -v redis-server` ./utils/install_server.sh

Welcome to the redis service installer
This script will help you easily set up a running redis server

Selected config:
Port           : 1234
Config file    : /etc/redis/1234.conf
Log file       : /var/log/redis_1234.log
Data dir       : /var/lib/redis/1234
Executable     : /usr/local/bin/redis-server
Cli Executable : /usr/local/bin/redis-cli
Copied /tmp/1234.conf => /etc/init.d/redis_1234
Installing service...
Successfully added to chkconfig!
Successfully added to runlevels 345!
Starting Redis server...
Installation successful!
```
2016-05-13 11:47:55 +02:00
Jan-Erik Rediger 00304f7ea8 Don't use extended Regexp Syntax
It's not POSIX (BSD systems have -E instead) and we don't actually need it.

Closes #1922
2014-08-13 19:34:03 +02:00
Jan-Erik Rediger 23b2912d73 install_server.sh: add missing bang
This was discovered by _bodya and reported in the IRC channel.
Everything worked fine as these scripts are always executed as shell
scripts.

Closes #1728
2014-08-07 17:14:08 +02:00
Jan-Erik Rediger 8858e0264b Finally fix the install_server.sh script.
Includes changes from a dozen bug reports and pull requests.
Was tested on Ubuntu, Debian and CentOS.
2014-03-15 14:43:50 +01:00
Brian J. McManus cfe4d9c6b2 Issue 804 Add Default-Start and Default-Stop LSB tags for RedHat startup and update-rc.d compatability. 2012-12-02 21:46:37 -07:00
dvir volk 9f7b99ae66 fixed server install script to rewrite the default configuration file and not a template, and removed the old config template
Conflicts:

	utils/redis.conf.tpl
2012-10-05 12:32:58 +02:00
antirez 6def2e54c0 Explicitly use bash for install_server.sh. Fixes issue #397 2012-04-24 19:14:03 +02:00
ThePicard 5759548fc1 Fixed a typo in install_server.sh 2012-03-31 23:39:58 -07:00
antirez a451c2d6f3 The universe is 80 columns wide, accept it. 2012-02-22 17:22:40 +01:00
Brad Voth a21ca418b2 updated utils/install_server.sh to support chkconfig boxes (redhat/
centos) as well as debian/ubuntu
2012-01-18 10:09:42 -05:00
dvir volk 462312f782 fixes to install script 2011-10-04 16:58:55 +02:00
antirez 154fe41066 Revert "Use the new install script as make install target. Message about install script requiring root changed a bit to make it more evident."
After talking with Pieter he changed my mind about this, it is better to
have a simpler install script that works everywhere, and the complex one
can be always executed if needed by hand. We'll make possibly a new
target for the full featured installation script, and even suggest it
after a Make install.

This reverts commit 51154dc772.
2011-10-03 16:04:44 +02:00
antirez 51154dc772 Use the new install script as make install target. Message about install script requiring root changed a bit to make it more evident. 2011-10-03 13:28:54 +02:00
dvir volk 5b71365d75 changed license to gpl BSD. LOL 2011-10-03 11:35:30 +02:00
dvir volk c9933e4685 changed license to gpl v3 2011-10-03 11:29:01 +02:00
dvir volk cb7f47a359 fixes to install script and template 2011-10-03 10:58:43 +02:00
dvir volk 2972886bfc Added installer and config template renderer 2011-10-03 10:48:07 +02:00