1. 09 Mar, 2019 1 commit
  2. 10 Jun, 2016 1 commit
  3. 13 May, 2016 1 commit
    • Michiel De Mey's avatar
      Allow non-interactive execution of install_server · af1e63c3
      Michiel De Mey authored
      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!
      ```
      af1e63c3
  4. 13 Aug, 2014 1 commit
  5. 07 Aug, 2014 1 commit
  6. 15 Mar, 2014 1 commit
  7. 03 Dec, 2012 1 commit
  8. 05 Oct, 2012 1 commit
  9. 04 May, 2012 1 commit
  10. 24 Apr, 2012 1 commit
  11. 01 Apr, 2012 1 commit
  12. 22 Feb, 2012 1 commit
  13. 18 Jan, 2012 1 commit
  14. 04 Oct, 2011 1 commit
  15. 03 Oct, 2011 6 commits