redis-server cmdline oneliner
"redis-server" has a small number of command line options.
cat <<-"EOL" | redis-server -
port 10001
pidfile "./tmp/pids/10001.pid"
dir ./db/10001
daemonize yes
EOL
$ redis-cli -h localhost -p 10001
redis localhost:10001>
Written by sawanoboly
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Redis
Authors
Related Tags
#redis
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#