init: libra instructions

This commit is contained in:
2021-11-17 14:09:49 +03:00
commit adcd7a4aba
4 changed files with 114 additions and 0 deletions

20
diem-node.service Normal file
View File

@@ -0,0 +1,20 @@
[Unit]
Description=0L Node Service
[Service]
LimitNOFILE=200000
# Point the config to either full node or validator node
WorkingDirectory=/home/deployer/.0L
ExecStart=/home/deployer/libra-release/diem-node --config /home/deployer/.0L/validator.node.yaml
Restart=always
RestartSec=10s
# Make sure you CREATE the directory and file for your node.log
StandardOutput=file:/home/deployer/logs/node.log
StandardError=file:/home/deployer/logs/node.log
[Install]
WantedBy=multi-user.target
Alias=diem-node.service