Skip to content

Instantly share code, notes, and snippets.

@hamano
Last active March 15, 2016 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamano/eac01796c1f86deab6cd to your computer and use it in GitHub Desktop.
Save hamano/eac01796c1f86deab6cd to your computer and use it in GitHub Desktop.
[Unit]
Description = Riak
Wants=epmd.service
[Service]
Type = simple
ExecStart = /usr/local/riak/bin/riak console -noshell
ExecStop = /usr/local/riak/bin/riak stop
Restart = always
Environment = HOME=/home/riak
LimitNOFILE = 65536
[Install]
WantedBy = multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment