diff --git a/docs/node/install.md b/docs/node/install.md index cd3af063f..54741aa98 100644 --- a/docs/node/install.md +++ b/docs/node/install.md @@ -480,6 +480,7 @@ MemoryHigh=32G RestartSec=15s Restart=always ExecStart=lgtn -c /home/lgtn/.lightning/config.toml run +ExecStop=pkill -f lgtn StandardOutput=append:/var/log/lightning/output.log StandardError=append:/var/log/lightning/diagnostic.log Environment=TMPDIR=/var/tmp @@ -643,6 +644,7 @@ ExecStartPre=-/usr/bin/docker kill lightning-node ExecStartPre=-/usr/bin/docker rm lightning-node ExecStartPre=/usr/bin/docker pull ghcr.io/fleek-network/lightning:latest ExecStart=/usr/bin/docker run -p 4230:4230 -p 4200:4200 -p 6969:6969 -p 18000:18000 -p 18101:18101 -p 18102:18102 --mount type=bind,source=/home/skywalker/.lightning,target=/root/.lightning --name lightning-node ghcr.io/fleek-network/lightning:latest +ExecStop=/usr/bin/docker stop StandardOutput=append:/var/log/lightning/output.log StandardError=append:/var/log/lightning/diagnostic.log diff --git a/guides/Node Operators/running-a-node-in-docker.md b/guides/Node Operators/running-a-node-in-docker.md index e496df621..48e3617d7 100644 --- a/guides/Node Operators/running-a-node-in-docker.md +++ b/guides/Node Operators/running-a-node-in-docker.md @@ -378,6 +378,7 @@ ExecStartPre=-/usr/bin/docker kill lightning-cli ExecStartPre=-/usr/bin/docker rm lightning-cli ExecStartPre=/usr/bin/docker pull ghcr.io/fleek-network/lightning:latest ExecStart=/usr/bin/docker run -p 4230:4230 -p 4200:4200 -p 6969:6969 -p 18000:18000 -p 18101:18101 -p 18102:18102 --mount type=bind,source=/home/skywalker/.lightning,target=/root/.lightning --name lightning-cli ghcr.io/fleek-network/lightning:latest +ExecStop=/usr/bin/docker stop StandardOutput=append:/var/log/lightning/output.log StandardError=append:/var/log/lightning/diagnostic.log diff --git a/guides/Node Operators/transfering-setup-ownership.md b/guides/Node Operators/transfering-setup-ownership.md index 0eda9c8d5..3f6d122da 100644 --- a/guides/Node Operators/transfering-setup-ownership.md +++ b/guides/Node Operators/transfering-setup-ownership.md @@ -274,6 +274,7 @@ MemoryHigh=32G RestartSec=15s Restart=always ExecStart=lgtn -c /home//.lightning/config.toml run +ExecStop=pkill -f lgtn StandardOutput=append:/var/log/lightning/output.log StandardError=append:/var/log/lightning/diagnostic.log Environment=TMPDIR=/var/tmp @@ -294,6 +295,7 @@ MemoryHigh=32G RestartSec=15s Restart=always ExecStart=lgtn -c /home/lgtn/.lightning/config.toml run +ExecStop=pkill -f lgtn StandardOutput=append:/var/log/lightning/output.log StandardError=append:/var/log/lightning/diagnostic.log Environment=TMPDIR=/var/tmp