Created
May 19, 2018 19:47
-
-
Save wizardofzos/65ae84e46ab0097d578957dc7a128543 to your computer and use it in GitHub Desktop.
Systemd service for a Qryptonite node
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
[Unit] | |
Description=Qryptonite Node | |
[Service] | |
User=root | |
Group=root | |
ExecStart=/root/qryptonited --data-dir /root --no-console --mining-threads 1 --start-mining aq3... > /root/miner-log.log 2>&1 & | |
Restart=always | |
RestartSec=3 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah I know, this runs as root from /root
It runs on an EC2, who cares :)