Skip to content
This repository
Browse code

The universe is 80 columns wide, accept it.

  • Loading branch information...
commit a3b580c0c56acdf2319cec6bb2c5d9e4358619d9 1 parent 660a127
Salvatore Sanfilippo antirez authored

Showing 1 changed file with 17 additions and 23 deletions. Show diff stats Hide diff stats

  1. +17 23 utils/install_server.sh
40 utils/install_server.sh
@@ -2,41 +2,38 @@
2 2
3 3 # Copyright 2011 Dvir Volk <dvirsk at gmail dot com>. All rights reserved.
4 4 #
5   -# Redistribution and use in source and binary forms, with or without modification, are
6   -# permitted provided that the following conditions are met:
  5 +# Redistribution and use in source and binary forms, with or without
  6 +# modification, are permitted provided that the following conditions are met:
7 7 #
8   -# 1. Redistributions of source code must retain the above copyright notice, this list of
9   -# conditions and the following disclaimer.
  8 +# 1. Redistributions of source code must retain the above copyright notice,
  9 +# this list of conditions and the following disclaimer.
10 10 #
11   -# 2. Redistributions in binary form must reproduce the above copyright notice, this list
12   -# of conditions and the following disclaimer in the documentation and/or other materials
13   -# provided with the distribution.
  11 +# 2. Redistributions in binary form must reproduce the above copyright
  12 +# notice, this list of conditions and the following disclaimer in the
  13 +# documentation and/or other materials provided with the distribution.
14 14 #
15 15 # THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
16   -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
17   -# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Dvir Volk OR
18   -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19   -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20   -# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
21   -# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
22   -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
23   -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  16 +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  17 +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
  18 +# EVENT SHALL Dvir Volk OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  19 +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  20 +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
  21 +# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  22 +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  23 +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  24 +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 25 #
25   -#
26   -# # # # # # # # # # # # # # # # # # # # # # # # # #
  26 +################################################################################
27 27 #
28 28 # Interactive service installer for redis server
29 29 # this generates a redis config file and an /etc/init.d script, and installs them
30 30 # this scripts should be run as root
31   -#
32   -
33 31
34 32 die () {
35 33 echo "ERROR: $1. Aborting!"
36 34 exit 1
37 35 }
38 36
39   -
40 37 #Initial defaults
41 38 _REDIS_PORT=6379
42 39
@@ -178,6 +175,3 @@ fi
178 175 echo "Installation successful!"
179 176 exit 0
180 177
181   -
182   -
183   -

0 comments on commit a3b580c

Please sign in to comment.
Something went wrong with that request. Please try again.