Skip to content

Commit

Permalink
Use default port and set ambient capabilities in ord service (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
terror authored Jul 12, 2022
1 parent 2ac4633 commit 3712b99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy/ord.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ StartLimitBurst=120
StartLimitIntervalSec=10m

[Service]
AmbientCapabilities=CAP_NET_BIND_SERVICE
WorkingDirectory=/var/lib/ord
Environment=RUST_BACKTRACE=1
Environment=RUST_LOG=info
ExecStart=/usr/local/bin/ord \
--index-size 1TiB \
--rpc-url 127.0.0.1:38332 \
--cookie-file /var/lib/bitcoind/signet/.cookie \
server \
--port 8000
server

# Process management
####################
Expand Down
2 changes: 1 addition & 1 deletion deploy/setup
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ systemctl enable ord
systemctl restart ord

sleep 1
curl http://localhost:8000/list
curl http://localhost/list

0 comments on commit 3712b99

Please sign in to comment.