mirror of
https://github.com/corda/corda.git
synced 2025-04-07 11:27:01 +00:00
enable service instructions
This commit is contained in:
parent
286ff65e60
commit
a88e7c9035
@ -126,11 +126,11 @@ handling, and ensures the Corda service is run at boot.
|
||||
9. Provision the required certificates to your node. Contact the network permissioning service or see
|
||||
:doc:`permissioning`
|
||||
|
||||
10. You can now start a node and its webserver by running the following ``systemctl`` commands:
|
||||
10. You can now start a node and its webserver and set the services to start on boot by running the following ``systemctl`` commands:
|
||||
|
||||
* ``sudo systemctl daemon-reload``
|
||||
* ``sudo systemctl corda start``
|
||||
* ``sudo systemctl corda-webserver start``
|
||||
* ``sudo systemctl enable --now corda``
|
||||
* ``sudo systemctl enable --now corda-webserver``
|
||||
|
||||
You can run multiple nodes by creating multiple directories and Corda services, modifying the ``node.conf`` and
|
||||
``service`` files so they are unique.
|
||||
@ -216,6 +216,7 @@ at boot, and means the Corda service stays running with no users connected to th
|
||||
nssm set cordanode1 AppStdout C:\Corda\service.log
|
||||
nssm set cordanode1 AppStderr C:\Corda\service.log
|
||||
nssm set cordanode1 Description Corda Node - Bank of Breakfast Tea
|
||||
nssm set cordanode1 Start SERVICE_AUTO_START
|
||||
sc start cordanode1
|
||||
|
||||
9. Modify the batch file:
|
||||
|
Loading…
x
Reference in New Issue
Block a user