Created
October 20, 2018 11:48
-
-
Save rraallvv/bb5e438745bf4f2a1306827399e26343 to your computer and use it in GitHub Desktop.
Nimiq JSON-RPC server service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Nimiq JSONRPC daemon | |
After=network.target | |
[Service] | |
Type=simple | |
User=deploy | |
Group=deploy | |
WorkingDirectory=/home/deploy/nimiq-core | |
ExecStart=/usr/bin/node /home/deploy/nimiq-core/clients/nodejs/index.js --config=settings.conf | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
protocol: "dumb", | |
type: "light", | |
rpcServer: { | |
enabled: "yes", | |
port: 8648, | |
corsdomain: [], | |
allowip: [], | |
methods: [], | |
username: "deploy", | |
password: "pass" | |
}, | |
wallet: { | |
address: "XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment