Giter VIP home page Giter VIP logo

filecoin-systemd's Introduction

filecoin-systemd

DO A COPY

sudo cp *.service /etc/systemd/system

Start Lotus Daemon

sudo systemctl enable --now lotus-daemon.service

Start Lotus Miner

sudo systemctl enable --now lotus-miner.service

Start one P1

sudo systemctl enable --now [email protected]

Start two P2

for ID in $(seq 0 1)
do
  sudo systemctl enable --now lotus-worker-p2@${ID}.service
done

Start six C2

for ID in $(seq 0 5)
do
  sudo systemctl enable --now lotus-worker-c2@${ID}.service
done

OR use systemd target unit

DO A COPY

sudo cp *.service /etc/systemd/system
sudo cp *.target /etc/systemd/system

Start Lotus Daemon

sudo systemctl enable --now lotus-daemon.service

Start Lotus Miner

sudo systemctl enable --now lotus-miner.service

Start one P1

sudo systemctl enable --now lotus-worker-p1s.target

Start two P2

sudo systemctl enable --now lotus-worker-p2s.target

Start six C2

sudo systemctl enable --now lotus-worker-c2s.target

filecoin-systemd's People

Contributors

pathoo avatar

Stargazers

 avatar  avatar

Watchers

 avatar

filecoin-systemd's Issues

Simplify target unit

Is your feature request related to a problem? Please describe.

Do not use like this:

Could it be:

Requires=lotus-worker-p2@[0-1].service

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.