I'm running Ubuntu 16.04 as VMWare Virtual Machine. Downloaded xmr-stak-portbin-linux.tar.gz.
I created a xmr.service file in /lib/systemd/system/
[Unit] Description=xmr After=network.target [Service] ExecStart=/home/aniket/xmr-stak.sh User=root [Install] WantedBy=multi-user.target
Ran following commands in terminal:
sudo systemctl daemon-reload sudo systemctl enable xmr.service sudo systemctl start xmr.service sudo systemctl stop xmr.service sudo systemctl restart xmr.service
After Ubuntu restarted, I did systemctl status xmr, and could see status as active.
But in supportxmr dashboard, I cannot see the worker. On manually running the .sh file, I can see the worker in the dashboard. What might be going wrong?