Last active
October 10, 2019 10:42
-
-
Save matehat/4652791 to your computer and use it in GitHub Desktop.
Small installation script for Aneth on Linux using runit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Execute the following lines :
And this will install an runit boot script for Aneth!