Skip to content
Create a gist now

Instantly share code, notes, and snippets.

@matehat /install.sh
Last active

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
Owner

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
Something went wrong with that request. Please try again.