This commit is contained in:
2022-09-14 22:50:52 +04:00
parent bdaa38576a
commit dee8ffa786
2 changed files with 15 additions and 0 deletions

7
shell/StopFlask.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
cd ..
ServiceName=$(python3 Scripts.py --getconfig PROGNAME)
SHMName=$(python3 Scripts.py --getconfig SHMNAME)
echo 'Остановка '$ServiceName' Flask'
sudo service $SHMName'_flask' stop