open-libra-devops/libra-monitor.service

15 lines
351 B
SYSTEMD
Raw Normal View History

2021-11-17 12:09:49 +01:00
[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