Skip to content

Instantly share code, notes, and snippets.

@JulienKode
Created September 7, 2018 21:25
Show Gist options
  • Save JulienKode/612beffd890de91a73c0d073826fc3eb to your computer and use it in GitHub Desktop.
Save JulienKode/612beffd890de91a73c0d073826fc3eb to your computer and use it in GitHub Desktop.
xmr-stak service example
[Unit]
Description=XMR STAK Daemon
After=network.target
[Service]
Type=forking
GuessMainPID=no
ExecStart=/usr/local/bin/xmr-stak -c /home/miner/config/config.txt -C /home/miner/config/pools.txt --cpu /home/miner/config/cpu.txt
Restart=always
User=miner
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment