v1.27.0-a #10
8
Makefile
8
Makefile
@ -246,7 +246,9 @@ install-daemon-service: install-daemon
|
|||||||
install -C -m 0644 ./scripts/lotus-daemon.service /etc/systemd/system/lotus-daemon.service
|
install -C -m 0644 ./scripts/lotus-daemon.service /etc/systemd/system/lotus-daemon.service
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
@echo
|
@echo
|
||||||
@echo "lotus-daemon service installed. Don't forget to run 'sudo systemctl start lotus-daemon' to start it and 'sudo systemctl enable lotus-daemon' for it to be enabled on startup."
|
@echo "lotus-daemon service installed."
|
||||||
|
@echo "To start the service, run: 'sudo systemctl start lotus-daemon'"
|
||||||
|
@echo "To enable the service on startup, run: 'sudo systemctl enable lotus-daemon'"
|
||||||
|
|
||||||
install-miner-service: install-miner install-daemon-service
|
install-miner-service: install-miner install-daemon-service
|
||||||
mkdir -p /etc/systemd/system
|
mkdir -p /etc/systemd/system
|
||||||
@ -254,7 +256,9 @@ install-miner-service: install-miner install-daemon-service
|
|||||||
install -C -m 0644 ./scripts/lotus-miner.service /etc/systemd/system/lotus-miner.service
|
install -C -m 0644 ./scripts/lotus-miner.service /etc/systemd/system/lotus-miner.service
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
@echo
|
@echo
|
||||||
@echo "lotus-miner service installed. Don't forget to run 'sudo systemctl start lotus-miner' to start it and 'sudo systemctl enable lotus-miner' for it to be enabled on startup."
|
@echo "lotus-miner service installed."
|
||||||
|
@echo "To start the service, run: 'sudo systemctl start lotus-miner'"
|
||||||
|
@echo "To enable the service on startup, run: 'sudo systemctl enable lotus-miner'"
|
||||||
|
|
||||||
install-provider-service: install-provider install-daemon-service
|
install-provider-service: install-provider install-daemon-service
|
||||||
mkdir -p /etc/systemd/system
|
mkdir -p /etc/systemd/system
|
||||||
|
@ -10,9 +10,13 @@ ExecStart=/usr/local/bin/lotus daemon
|
|||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|
||||||
MemoryAccounting=true
|
# If running a node in a shared, memory constrained environment, enable MemoryAccounting to put
|
||||||
MemoryHigh=8G
|
# pressure on allocations. This will slow the process down but keep it approximately within the
|
||||||
MemoryMax=10G
|
# limit specified.
|
||||||
|
#MemoryAccounting=true
|
||||||
|
#MemoryHigh=64G
|
||||||
|
#MemoryMax=96G
|
||||||
|
|
||||||
LimitNOFILE=8192:10240
|
LimitNOFILE=8192:10240
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user