Skip to content

Instantly share code, notes, and snippets.

@matehat
Last active October 10, 2019 10:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matehat/4652791 to your computer and use it in GitHub Desktop.
Save matehat/4652791 to your computer and use it in GitHub Desktop.
Small installation script for Aneth on Linux using runit
mkdir -p /etc/sv/aneth
echo "#!/bin/sh
exec /usr/local/bin/node /usr/local/bin/aneth start $HNAME -w" > /etc/sv/aneth/run
chmod +x /etc/sv/aneth/run
ln -nfs /etc/sv/aneth /etc/service
@matehat
Copy link
Author

matehat commented Jan 28, 2013

Execute the following lines :

$ wget https://gist.github.com/raw/4652791/78ccac2f0b286982414dc9135f7519cd0ed5dd56/install.sh
$ sudo HNAME=your.host.name sh install.sh

And this will install an runit boot script for Aneth!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment