Skip to content

Instantly share code, notes, and snippets.

@wizardofzos
Created May 19, 2018 19:47
Show Gist options
  • Save wizardofzos/65ae84e46ab0097d578957dc7a128543 to your computer and use it in GitHub Desktop.
Save wizardofzos/65ae84e46ab0097d578957dc7a128543 to your computer and use it in GitHub Desktop.
Systemd service for a Qryptonite node
[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
@wizardofzos
Copy link
Author

Yeah I know, this runs as root from /root

It runs on an EC2, who cares :)

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