Skip to content

Instantly share code, notes, and snippets.

@Wondertan
Last active June 11, 2021 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Wondertan/8402af8e8b8a63a5117cbf281ce39042 to your computer and use it in GitHub Desktop.
Save Wondertan/8402af8e8b8a63a5117cbf281ce39042 to your computer and use it in GitHub Desktop.
Lotus Miner Auto Pledge `systemd` Timer
# /etc/systemd/system/pledge.timer
[Unit]
Description=Lotus Miner Auto Pledging Timer
[Timer]
OnUnitActiveSec=21min # Set the time that suits you harwdare the best.
# NOTE: You should also have enought funds for that, as pledging takes FILs for every produced sectors
# It requires having `pledge.service` in the same folder
# To start timer, manually fire `systemctl start pledge`
[Install]
WantedBy=timers.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment