Skip to content

Instantly share code, notes, and snippets.

@indykish
Last active April 15, 2019 10:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save indykish/b59d191d8ccdd1168f78 to your computer and use it in GitHub Desktop.
Save indykish/b59d191d8ccdd1168f78 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