init: libra instructions
This commit is contained in:
20
diem-node.service
Normal file
20
diem-node.service
Normal 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
|
||||
Reference in New Issue
Block a user