Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port Ayarı Hk. #28

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Initia/Oracle.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ make build
```
mv build/slinky /usr/local/bin/
```
### Portunuzu kontrol edin
```
echo "$(curl -s ifconfig.me)$(grep -A 6 "\[grpc\]" ~/.initia/config/app.toml | egrep -o ":[0-9]+")"
```
### Servis dosyanızdaki port kısmına değişken atayın
```
PORT=GRPC_PORT_NUMARANIZI_YAZIN
```
### Servis olusturalım
```
sudo tee /etc/systemd/system/slinkyd.service > /dev/null <<EOF
Expand All @@ -21,7 +29,7 @@ After=network-online.target

[Service]
User=$USER
ExecStart=$(which slinky) --oracle-config-path $HOME/slinky/config/core/oracle.json --market-map-endpoint 127.0.0.1:15090
ExecStart=$(which slinky) --oracle-config-path $HOME/slinky/config/core/oracle.json --market-map-endpoint 127.0.0.1:$PORT
Restart=on-failure
RestartSec=30
LimitNOFILE=65535
Expand Down