Skip to content

Commit 5b266e8

Browse files
authored
Update setup-xmr
1 parent aa05557 commit 5b266e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Terminal/setup-xmr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cmake .. -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF
1010
make install
1111

1212
cat > /tmp/cron << EOF
13-
@reboot screen -d -m ~/xmr-stak/build/bin/xmr-stak
13+
@reboot screen -d -m ~/xmr-stak/build/bin/xmr-stak -u $USERNAME -p $PASSWORD --url $URL --currency monero
1414
EOF
1515

16-
sudo su ubuntu -c crontab /tmp/cron
16+
crontab /tmp/cron

0 commit comments

Comments
 (0)