prdatur / phpminer

PHPMiner is a web interface for cgminer on linux machines
Other
34 stars 15 forks source link

Update RPCClientApi.class.php : miner start script path should be absolute and should not be relative. #40

Closed skybach closed 10 years ago

skybach commented 10 years ago

remove ./ from linux start command. miner start script path should be absolute and should not be relative.

prdatur commented 10 years ago

There is no need for absolute paths. The configuration is like "cd into miner path" and there the miner binary is executed which is directly within the miner path.

prdatur commented 10 years ago

Explain what error in which situation you had with relatives

skybach commented 10 years ago

I see. Did not see the cd statement from before. It happened that my config was wrong. Would be good if the path config had some example to make it less confusing. The binary path do not need to include the binary, but the miner config path need to include the config file. Will revert code.