diff --git a/code/gitup.sh b/code/gitup.sh index e9d24b6..aef0c72 100755 --- a/code/gitup.sh +++ b/code/gitup.sh @@ -1,5 +1,3 @@ -#!/usr/bin/env bash - set -a source .env set +a diff --git a/code/sergay.json b/code/sergay.json index 65e7ac9..64df04c 100644 --- a/code/sergay.json +++ b/code/sergay.json @@ -310,5 +310,17 @@ { "id": 78, "78": "спиздил учебник и засунул в жопу" + }, + { + "id": 79, + "79": "униженый" + }, + { + "id": 80, + "80": "опущенный" + }, + { + "id": 81, + "81": "шалун с микро пенисом" } ] \ No newline at end of file diff --git a/code/sergay.py b/code/sergay.py index 78ee86c..f8d9024 100644 --- a/code/sergay.py +++ b/code/sergay.py @@ -101,7 +101,7 @@ def save_new_phrase(file_path: str, phrase: str) -> None: def restart_service() -> None: subprocess.Popen( - f"bash /root/sergay/code/gitup.sh && systemctl restart {SERVICE_NAME}", + ["systemctl", "restart", SERVICE_NAME], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, start_new_session=True,