Post
Topic
Board Mining (Altcoins)
Re: Open Source XPM (Primecoin) GPU Miner & Pool xpmforall.org
by
mauserus
on 28/03/2025, 10:53:27 UTC
Thread looks a bit dead but could anyone who still active with this help me to set up mining with HiveOS.

I don't now how working HiveOS, but I think like other linux os. In my linux I miner start like service systemd:
superuser@superuser-pc:~$ cat /etc/systemd/system/xpmclient.service
[Unit]
Description=xpmclientnv on start in tmux
[Service]
WorkingDirectory=/home/superuser/xpmclient-cuda-10.6.1-linux/
ExecStart=/home/superuser/xpmclient-cuda-10.6.1-linux/start_xpmclientnv.sh
ExecStop=/usr/bin/tmux kill-session -t xpmclientnv
Type=forking
User=superuser
Restart=always
RuntimeMaxSec=24h
StandardOutput=file:/home/superuser/xpmclient-cuda-10.6.1-linux/StandardOutput.log
StandardError=file:/home/superuser/xpmclient-cuda-10.6.1-linux/StandardError.log
[Install]
WantedBy=multi-user.target

Mining client start in tmux session for convinient view his status:
superuser@superuser-pc:~$ cat /home/superuser/xpmclient-cuda-10.6.1-linux/start_xpmclientnv.sh
#!/bin/sh
/usr/bin/tmux new-session -s xpmclientnv -d sh xpmclientnv