API This way.
####################
"api": {
"enabled": true,
"hashrateWindow": 600,
"updateInterval": 5,
"port": 8117,
"blocks": 30,
"payments": 30,
"password": "xxxxxxx"
},
#########################
Do I have to change anything in " init.js "?
it is okay.
No, you don't have to change anything in init.js (it is the "pool" itself).
If you run node init.js -config=your_config.json, doest the pool start?
Can you share the log after you start the pool?
Also... did you configure the daemon and wallet sections in your your_config.json. That config tells the pool how and where to connect to the daemon of your coin.
You should specify IP and PORT.
Also, is the port 8117 open in your your linux?