Skip to content

Commit 443e08e

Browse files
authored
Merge branch 'ton-blockchain:mytonctrl2_dev' into mytonctrl2_dev
2 parents c1f59b6 + 591b967 commit 443e08e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
pip3 uninstall -y mytonctrl
2+
3+
cd /usr/src
4+
rm -rf mytonctrl
5+
git clone --recursive https://github.com/ton-blockchain/mytonctrl
6+
7+
echo "Updating /usr/bin/mytonctrl"
8+
echo "/usr/bin/python3 /usr/src/mytonctrl/mytonctrl.py $@" > /usr/bin/mytonctrl
9+
chmod +x /usr/bin/mytonctrl
10+
11+
echo "Updating mytoncore service"
12+
sed -i 's\-m mytoncore\/usr/src/mytonctrl/mytoncore.py\g' /etc/systemd/system/mytoncore.service
13+
systemctl daemon-reload
14+
systemctl restart mytoncore
15+
16+
echo "Done"

0 commit comments

Comments
 (0)