I mine using Fedora so thought I'd post the script I made so I could run zm as a service - of course you'll need to install "screen" and change paths to match your own:
CREATE ZM SERVICE
Make start script
nano start-zm-miner
#!/bin/sh
cd /home/user/Downloads/zm_0.6.1/
DISPLAY=:0 ./zm --cfg-file=zm.cfg
I mine using Fedora so thought I'd post the script I made so I could run zm as a service - of course you'll need to install "screen" and change paths to match your own:
CREATE ZM SERVICE
Make start script
nano start-zm-miner
chmod 755 start-zm-miner
Create service
nano /lib/systemd/system/zm-miner.service
Start service
systemctl start zm-miner.service
Turn service on
systemctl enable zm-miner.service
Monitor output
tail -f zm.log