public
Last active

Small installation script for Aneth on Linux using runit

  • Download Gist
install.sh
Shell
1 2 3 4 5
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

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!

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.