mirror of
https://github.com/Retropex/apolloapi-v2.git
synced 2025-06-02 15:32:30 +02:00
Small fixes
This commit is contained in:
parent
9bc6a5ab84
commit
a34dfb5d01
@ -189,7 +189,7 @@ module.exports.typeDefs = `
|
|||||||
}
|
}
|
||||||
|
|
||||||
type MinerStatsCkpoolPool {
|
type MinerStatsCkpoolPool {
|
||||||
runtime: Int
|
runtime: Float
|
||||||
lastupdate: Int
|
lastupdate: Int
|
||||||
Users: Int
|
Users: Int
|
||||||
Workers: Int
|
Workers: Int
|
||||||
|
@ -264,7 +264,8 @@ module.exports.auth = {
|
|||||||
|
|
||||||
await fsPromises.writeFile(configBitcoinFilePath, conf);
|
await fsPromises.writeFile(configBitcoinFilePath, conf);
|
||||||
|
|
||||||
exec('sudo systemctl restart node');
|
exec('sudo systemctl stop node');
|
||||||
|
exec('sudo systemctl start node');
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log('ERR manageBitcoinConf', err);
|
console.log('ERR manageBitcoinConf', err);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user