Skip to content

Instantly share code, notes, and snippets.

@akhiljalagam
Forked from indykish/riak.service
Created April 15, 2019 10:20
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 akhiljalagam/f1b88aa65647ee8f4ffce35adfef8fe8 to your computer and use it in GitHub Desktop.
Save akhiljalagam/f1b88aa65647ee8f4ffce35adfef8fe8 to your computer and use it in GitHub Desktop.
Archlinux riak systemd service with ulimit fix
#Checkout for a free launch at, https://www.megam.io
[Unit]
Description=Distributed key/value store from Basho Technologies
After=network.target
[Service]
LimitNOFILE=infinity
LimitMEMLOCK=infinity
User=riak
Type=forking
ExecStart=/opt/riak/bin/riak start
ExecStop=/opt/riak/bin/riak stop
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment