Toomas633 / Scripts

Install scripts for debian/ubuntu/pi-os
https://toomas633.com
GNU General Public License v3.0
0 stars 0 forks source link

hi can update? #1

Closed AhrimanSefid closed 2 years ago

AhrimanSefid commented 2 years ago

code:

https://raw.githubusercontent.com/AhrimanSefid/unminable/main/whalestonpool-gpu-ton-2.sh

https://raw.githubusercontent.com/AhrimanSefid/unminable/main/unminable-cpu.sh

Toomas633 commented 2 years ago

The first one is for lolminer? (I have no experience with it as i have only used xmrig and nicehash)

The second one seems to be a simpler version for xmrig, which is already present, only differencd is that you use screen, mine configures it as a system service.

Am i correct?

AhrimanSefid commented 2 years ago

ok but me need auto start background. no kill.

Toomas633 commented 2 years ago

System services start on boot and run on the backround, or you can disable the systemd service and start/stop it manually

Toomas633 commented 2 years ago

I will take a look in the morning and send you back your scripts with edits for running as a service if you would like that?

AhrimanSefid commented 2 years ago

yes thanks share plz.

Toomas633 commented 2 years ago

Here, they should work now as a service. If there are any issues then hit me up again. PS: just to be safe run the scrips as a root user, or add sudo where needed in the scripts.

https://raw.githubusercontent.com/Toomas633/Installers/issues/updated_unminable-cpu.sh https://raw.githubusercontent.com/Toomas633/Installers/issues/updated_whalestonpool-gpu-ton-2.sh

They are configured to autostart after a reboot, but can also be controlled with systemd or service commands (lolMiner.service and xmrig.service)

AhrimanSefid commented 2 years ago

./new-unminable-cpu.sh: line 11: /etc/systemd/system/xmrig.service: No such file or directory ./new-unminable-cpu.sh: line 25: systemctl: command not found

Toomas633 commented 2 years ago

You are running them as root user on a debian distro like ubuntu, correct? Non root users can't write system service files. Try sudo ./....sh or sudo -i and then ./....sh

AhrimanSefid commented 2 years ago

1.50/logs/2022-01-05_20-03-41.log 1.50/mine_flux.sh 1.50/mine_bittube.sh Created symlink /etc/systemd/system/multi-user.target.wants/lolMiner.service → /etc/systemd/system/lolMiner.service.

AhrimanSefid commented 2 years ago

can anydesk?

Toomas633 commented 2 years ago

You are better of searching official forums for answers. I haven't used lolMiner before and thus don't know how to configure it. As far as i can see the scripts should work and xmrig install script that is provided in the repo works for me so.