open-libra-devops/libra-monitor.service

15 lines
351 B
SYSTEMD

[Unit]
Description=0L Monitor Service
ExecStart=/home/deployer/libra-release/ol serve
Restart=always
RestartSec=10s
# Make sure you CREATE the directory and file for your node.log
StandardOutput=file:/home/deployer/logs/monitor.log
StandardError=file:/home/deployer/logs/monitor.log
[Install]
WantedBy=multi-user.target
Alias=libra-monitor.service