Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
sudo wget https://bintray.com/deepstreamio/rpm/rpm -O /etc/yum.repos.d/bintray-deepstreamio-rpm.repo
sudo yum install -y deepstream.io
deepstream install message redis
rm -f /etc/deepstream/conf.d/config.yml
sudo cat > /etc/init.d/deepstream <<- "EOF"
cmd="/usr/bin/deepstream"
user="root"