Skip to content

Commit 921d008

Browse files
author
Tim Schwab
committed
run in background and fix typo
1 parent ab16964 commit 921d008

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Diff for: scripts/install-redis-linux.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
#!/bin/bash
22

3+
# https://redis.io/topics/quickstart
4+
# This is the way to install on Linux, apparently...
5+
36
# Download tarball
47
# Extract source
58
# Make
69
# Run Redis Server
710

811
wget http://download.redis.io/redis-stable.tar.gz
9-
tar xvzf redis-stable.tar.gz
12+
tar xzf redis-stable.tar.gz
1013
cd redis-stable
1114
make
1215
cd src
13-
./redis-server
16+
./redis-server &

Diff for: scripts/post-install.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ switch (process.platform) {
1515
// https://redis.io/topics/quickstart
1616
// This is the way to install on Linux, apparently...
1717

18-
// Download tarball
19-
// Extract source
20-
// Make
21-
// Run Redis
22-
exec('sh scripts/install-redis-linux.bat')
18+
exec('sh scripts/install-redis-linux.sh')
2319
break
2420
}

0 commit comments

Comments
 (0)