● miner.service - Miner_service for ./cpuminer -c cpuminer-conf.json
Loaded: loaded (/etc/systemd/system/miner.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Чт 2017-06-08 15:53:10 +07; 2min 29s ago
Process: 818 ExecStart=/path/to/cpuminer -c /path/to/cpuminer-conf.json (code=exited, status=203/EXEC)
Main PID: 818 (code=exited, status=203/EXEC)
июн 08 15:53:10 minerserv1 systemd[1]: Started Miner_service for ./cpuminer -c cpuminer-conf.json.
июн 08 15:53:10 minerserv1 systemd[1]: miner.service: Main process exited, code=exited, status=203/EXEC
июн 08 15:53:10 minerserv1 systemd[1]: miner.service: Unit entered failed state.
июн 08 15:53:10 minerserv1 systemd[1]: miner.service: Failed with result 'exit-code'.
#!/bin/bash
# Запуск
/home/user/opt/cpm -c /home/user/opt/cp-conf.json