open-libra-devops/tower.service

18 lines
451 B
Desktop File

[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