Skip to content

Instantly share code, notes, and snippets.

@efreesen
Created June 27, 2017 16:34
Show Gist options
  • Save efreesen/ee03eaf9b91c3eee82ecef06e69191c9 to your computer and use it in GitHub Desktop.
Save efreesen/ee03eaf9b91c3eee82ecef06e69191c9 to your computer and use it in GitHub Desktop.
# Ubuntu upstart file at /etc/init/miner.conf
pre-start script
mkdir -p /var/log/miner/
end script
respawn
respawn limit 15 5
start on runlevel [2345]
stop on runlevel [06]
script
minergate-cli -user USER -fcn+xmr 2> /var/log/miner.log
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment