lotus/tools/packer/systemd/lotus-miner.service

16 lines
276 B
SYSTEMD
Raw Normal View History

2021-02-16 07:12:37 +00:00
[Unit]
Description=Lotus Miner
After=network.target
[Service]
User=fc
Group=fc
ExecStart=/usr/local/bin/lotus-miner run
Environment=LOTUS_PATH=/var/lib/lotus
Environment=LOTUS_MINER_PATH=/var/lib/lotus-miner
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target