Skip to content

Commit 9c574c3

Browse files
committed
bugfix
1 parent 8037490 commit 9c574c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ton_http_api_installer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ echo -e "${COLOR}[3/4]${ENDC} Add to startup"
3131
venv_ton_http_api="${venv_path}/bin/ton-http-api"
3232
tonlib_path="/usr/bin/ton/tonlib/libtonlibjson.so"
3333
ls_config="/usr/bin/ton/localhost.config.json"
34-
cmd="from sys import path; path.append('/usr/src/mytonctrl/'); from mypylib.mypylib import Add2Systemd; Add2Systemd(name='ton_http_api', user='${user}', start='${venv_ton_http_api} --host 127.0.0.1 --port 8801 --liteserver-config ${ls_config} --cdll-path ${tonlib_path} --tonlib-keystore /tmp/tonlib_keystore/')"
34+
cmd="from sys import path; path.append('/usr/src/mytonctrl/'); from mypylib.mypylib import add2systemd; add2systemd(name='ton_http_api', user='${user}', start='${venv_ton_http_api} --host 127.0.0.1 --port 8801 --liteserver-config ${ls_config} --cdll-path ${tonlib_path} --tonlib-keystore /tmp/tonlib_keystore/')"
3535
python3 -c "${cmd}"
3636
systemctl restart ton_http_api
3737

0 commit comments

Comments
 (0)