Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpforms-captcha domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/interbiznw/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpforms-lite domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/interbiznw/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpscan domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/interbiznw/public_html/wp-includes/functions.php on line 6114
How to run xmrig-proxy as a service

How to run xmrig-proxy as a service

Create a systemd service unit for it.

See the examples on the man page. The simplest example shows how easy it can be to create a service unit:

[Unit]
Description=Xmrigproxy

[Service]
User=ubuntu
Group=ubuntu
ExecStart=/home/ubuntu/xmrig-proxy-5.5.1/xmrig-proxy-notls

Restart=always

[Install]
WantedBy=multi-user.target
Alias=xmrigproxy.service 

Store this unit under /etc/systemd/system/xmrigproxy.service, then reload systemd to read this unit file with:

$ sudo systemctl daemon-reload

Start the service with:

$ sudo systemctl start xmrigproxy.service

And enable it during startup with:

$ sudo systemctl enable xmrigproxy.service

You can check the status of the service with:

$ systemctl status xmrigproxy.service

View the output of the program by using:

$ journalctl -u xmrigproxy.service -f

One thought on “How to run xmrig-proxy as a service

  • oggo

    Excellent, thank you very much, do you know how you can check the workers ?? or is it imposible when running as a service? thanks again !!

Leave a Reply

Your email address will not be published. Required fields are marked *