I have no problem running zm from the cli (Linux)
But when I set it up as a service, it halts and restarts every couple of minutes.
I used the systemd unit file below. Has anyone tried running it as a service and is there something I'm setting up wrong in the unit file?
Code:
[Unit]
Description=Start DSTM Miner
Documentation=man:syslog-ng(8)
[Service]
User=miner
Type=forking
ExecStart=/user/local/bin/zm --server zec-us.suprnova.cc --port 2142 --user xxx.xxx --pass xxx --telemetry=127.0.0.1:43000
StandardOutput=null
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target