Ease debugging

use fully qualified node name
parent 1253fdc8
...@@ -15,6 +15,8 @@ config/prod-sys.config: config/sys.config.example ...@@ -15,6 +15,8 @@ config/prod-sys.config: config/sys.config.example
config/prod-vm.args: config/vm.args.example config/prod-vm.args: config/vm.args.example
[ -f $@ ] && diff $^ $@ || true [ -f $@ ] && diff $^ $@ || true
cp -i -b $^ $@ cp -i -b $^ $@
@IP=$(shell curl -s http://ip.seriyps.ru || curl -s https://digitalresistance.dog/myIp) \
&& sed -i s/@0\.0\.0\.0/@$${IP}/ $@
user: user:
sudo useradd -r $(USER) || true sudo useradd -r $(USER) || true
......
-sname mtproto_proxy -name mtproto_proxy@0.0.0.0
-setcookie mtproto-proxy-cookie -setcookie mtproto-proxy-cookie
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment