Skip to content

Commit d84a755

Browse files
committed
update README
1 parent cda0c1a commit d84a755

File tree

1 file changed

+0
-95
lines changed

1 file changed

+0
-95
lines changed

README.md

Lines changed: 0 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -36,98 +36,3 @@ The performance of NodeSentinel depends on setting the correct paths and IPs in
3636
A. Credential Files Placement (MUST COPY)
3737
Regardless of where the bot runs, you must copy your LND credentials (tls.cert and admin.macaroon) from the Node Machine to the Bot Machine. The paths in your .env must point to these local copies.
3838

39-
B. Scenario: Bot on REMOTE Machine (Recommended)
40-
This is the most common setup for security and performance.
41-
42-
Variable
43-
44-
Value
45-
46-
Description
47-
48-
LND_HOST
49-
50-
XX.XX.XX.XX:10009
51-
52-
External or LAN IP of the Node.
53-
54-
CERT_PATH
55-
56-
/path/to/local/copy/tls.cert
57-
58-
Path on the Bot Machine.
59-
60-
SSH_HOST
61-
62-
XX.XX.XX.XX
63-
64-
IP of the Node. Used for hardware monitoring and remote actions.
65-
66-
C. Scenario: Bot on SAME Machine as the Node
67-
This requires all IPs to be local.
68-
69-
Variable
70-
71-
Value
72-
73-
Description
74-
75-
LND_HOST
76-
77-
127.0.0.1:10009
78-
79-
Localhost IP.
80-
81-
SSH_HOST
82-
83-
127.0.0.1
84-
85-
Localhost IP.
86-
87-
CERT_PATH
88-
89-
/home/admin/.lnd/tls.cert
90-
91-
Actual absolute path on the Node.
92-
93-
💻 3. Service Management (systemd)
94-
For automated startup and reliability, NodeSentinel must run as a systemd service.
95-
96-
Step A: Create Service File
97-
Create the service file (adjust the paths to your project location):
98-
99-
sudo nano /etc/systemd/system/nodesentinel.service
100-
101-
Paste the configuration below (ensure WorkingDirectory and ExecStart paths are correct):
102-
103-
[Unit]
104-
Description=NodeSentinel Telegram Bot (LND/BTC Monitoring)
105-
After=network.target
106-
107-
[Service]
108-
User=ubuntu
109-
Group=ubuntu
110-
111-
WorkingDirectory=/home/ubuntu/lnd_credentials
112-
ExecStart=/home/ubuntu/lnd_credentials/venv_nodesentinel/bin/python3 nodesentinel.py
113-
114-
Restart=always
115-
RestartSec=5
116-
117-
[Install]
118-
WantedBy=multi-user.target
119-
120-
Step B: Load and Start
121-
Execute the following commands:
122-
123-
sudo systemctl daemon-reload
124-
sudo systemctl enable nodesentinel
125-
sudo systemctl start nodesentinel
126-
sudo systemctl status nodesentinel
127-
128-
🌟 4. Contributions and Donations
129-
If my work pleases you, any donation is greatly appreciated!
130-
131-
132-
133-
Bitcoin On-Chain: bc1qqksvzgksjgmffmggyg836h45le3d5aq5d5xqj0

0 commit comments

Comments
 (0)