aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/files/xmr_stak/xmr-stak.service
blob: 93ee383d682318744de0c7e95d36a67b08e03040 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=XMR Miner
After=network.target

[Service]
WorkingDirectory=/var/lib/xmr_stak

Type=simple
User=xmr_stak
Group=xmr_stak
ExecStart=/usr/bin/cpulimit --limit 90 /usr/bin/xmr-stak -c /var/lib/xmr_stak/xmr-stak.conf
Nice=19

[Install]
WantedBy=multi-user.target