We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8037490 commit 9c574c3Copy full SHA for 9c574c3
scripts/ton_http_api_installer.sh
@@ -31,7 +31,7 @@ echo -e "${COLOR}[3/4]${ENDC} Add to startup"
31
venv_ton_http_api="${venv_path}/bin/ton-http-api"
32
tonlib_path="/usr/bin/ton/tonlib/libtonlibjson.so"
33
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/')"
+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/')"
35
python3 -c "${cmd}"
36
systemctl restart ton_http_api
37
0 commit comments