Updates
This commit is contained in:
@@ -2,11 +2,3 @@ git config --global credential.helper cache #чтение настроек ав
|
||||
git reset --hard #игнорировать изменения у клиента
|
||||
git fetch
|
||||
git pull
|
||||
|
||||
#systemctl --user restart $(ls *.service | sed 's/\..*//')
|
||||
#Устанавливаем получаем имя файла сервиса
|
||||
FNAME=$(ls *.service )
|
||||
|
||||
echo "Запускаем сервис для пользователя $FNAME"
|
||||
systemctl --user restart $FNAME
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ echo '[Unit]
|
||||
Description=Запуск '$ServiceName'
|
||||
|
||||
[Service]
|
||||
WorkingDirectory='$PWD'
|
||||
WorkingDirectory='$PWD'/shell
|
||||
ExecStart='$PWD'/shell/Gunicorn.sh
|
||||
User='$USER'
|
||||
Group='$USER'
|
||||
|
||||
Reference in New Issue
Block a user