Skip to content

Instantly share code, notes, and snippets.

@hackedunit
Created March 7, 2017 09:50
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save hackedunit/14690b6174708d3e83593ce1cdfb4ed8 to your computer and use it in GitHub Desktop.
Save hackedunit/14690b6174708d3e83593ce1cdfb4ed8 to your computer and use it in GitHub Desktop.
[Unit]
Description=Redis In-Memory Data Store
After=network.target
[Service]
User=redis
Group=redis
ExecStart=/usr/local/bin/redis-server /etc/redis/redis.conf
ExecStop=/usr/local/bin/redis-cli shutdown
Restart=always
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment