open-libra-devops/diem-node.service

20 lines
510 B
Desktop File

[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