This commit is contained in:
Gogs
2020-05-10 18:29:14 +04:00
parent 7f4e11b073
commit 6a2cd57e6e
17 changed files with 297 additions and 60 deletions

8
shell/Restart.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
./Prepare.sh
ServiceName=$(python3 Scripts.py --getconfig PROGNAME)
SHMName=$(python3 Scripts.py --getconfig SHMNAME)
echo 'Перезапуск '$ServiceName
sudo systemctl restart site_$SHMName.service