lotus/scripts/lotus-miner.service
2020-07-09 10:20:25 +08:00

14 lines
289 B
Desktop File

[Unit]
Description=Lotus Storage Miner
After=network.target
After=lotus-daemon.service
Requires=lotus-daemon.service
[Service]
ExecStart=/usr/local/bin/lotus-miner run
Environment=GOLOG_FILE="/var/log/lotus/miner.log"
Environment=GOLOG_LOG_FMT="json"
[Install]
WantedBy=multiuser.target