mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-26 10:00:50 +08:00
16 lines
447 B
Bash
Executable file
16 lines
447 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Redis is one of those servers which by default
|
|
# accept connections from everywhere. Luckily,
|
|
# homebrew and presumably debian come with sane
|
|
# defaults. However, they're located in different
|
|
# directories.
|
|
if [[ $(uname) = 'Darwin' ]]; then
|
|
echo "Running redis from Homebrew..."
|
|
redis-server /usr/local/etc/redis.conf
|
|
fi
|
|
|
|
if [[ $(uname) = 'Linux' ]]; then
|
|
echo "Running redis"
|
|
redis-server /etc/redis/redis.conf
|
|
fi
|