open-libra-devops/tower.service

18 lines
451 B
SYSTEMD
Raw Normal View History

2021-11-17 12:09:49 +01:00
[Unit]
Description=0L Tower Service
[Service]
# Point the config to either full node or validator node
WorkingDirectory=/home/deployer/.0L
ExecStart=/home/deployer/libra-release/tower -o start
Restart=always
RestartSec=10s
# Make sure you CREATE the directory and file for your node.log
StandardOutput=file:/home/deployer/logs/tower.log
StandardError=file:/home/deployer/logs/tower.log
[Install]
WantedBy=multi-user.target
Alias=diem-tower.service