Created
June 11, 2021 12:41
-
-
Save Wondertan/64fcf4e1664f02a40401d5dcb05180c0 to your computer and use it in GitHub Desktop.
Lotus Miner Auto Pledging Service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/systemd/system/pledge.service | |
[Unit] | |
Description=Lotus Miner Auto Pledging Service | |
Wants=lotus-miner.service | |
[Service] | |
User=lotus # or any other user | |
Type=oneshot | |
ExecStart=lotus-miner sectors pledge | |
Environment=LOTUS_MINER_PATH=/lotus/miner-repo # set miner repository accordingly to your setup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment