Updates
This commit is contained in:
8
shell/Restart.sh
Executable file
8
shell/Restart.sh
Executable 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
|
||||
Reference in New Issue
Block a user