git.iko.soy/xmrig-bash-scripts
on master help sign in
Update start.sh
commit766dfc7d266e3f1828e789410226cc4bdf1505c7 authoriko <mail@iko.soy> dateTue 28 Mar 2023, 21:40 (4 years ago) parentc3ce076
1 file changed+6−6
start.sh+6−6
start.sh+6−6
@@ -41,15 +41,15 @@ echo "WantedBy=multi-user.target" | tee -a /etc/systemd/system/xmrig.service
4141
4242echo "STARTING XMRIG/SERVICES"
4343
44−service logrotate start
45−service ntp start
46−service xmrig start
44+sudo service logrotate start
45+sudo service ntp start
46+sudo service xmrig start
4747
4848echo "STARTING XMRIG/SERVICES @ BOOT"
4949
50−systemctl enable logrotate
51−systemctl enable ntp
52−systemctl enable xmrig
50+sudo systemctl enable logrotate
51+sudo systemctl enable ntp
52+sudo systemctl enable xmrig
5353
5454echo "${_CYAN}MINING RUNNING${_RESET}"
5555echo "${_YELLOW} The process is running in a screen session."