Update start.sh

This commit is contained in:
iko 2023-03-28 21:40:50 +03:00 committed by GitHub
parent c3ce076b3b
commit 766dfc7d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,15 +41,15 @@ echo "WantedBy=multi-user.target" | tee -a /etc/systemd/system/xmrig.service
echo "STARTING XMRIG/SERVICES" echo "STARTING XMRIG/SERVICES"
service logrotate start sudo service logrotate start
service ntp start sudo service ntp start
service xmrig start sudo service xmrig start
echo "STARTING XMRIG/SERVICES @ BOOT" echo "STARTING XMRIG/SERVICES @ BOOT"
systemctl enable logrotate sudo systemctl enable logrotate
systemctl enable ntp sudo systemctl enable ntp
systemctl enable xmrig sudo systemctl enable xmrig
echo "${_CYAN}MINING RUNNING${_RESET}" echo "${_CYAN}MINING RUNNING${_RESET}"
echo "${_YELLOW} The process is running in a screen session." echo "${_YELLOW} The process is running in a screen session."