This commit is contained in:
root 2026-03-19 15:14:24 +03:00
parent 5c3bcf9d62
commit 367dfc7afa
3 changed files with 26 additions and 1 deletions

View File

@ -17,3 +17,4 @@ fi
git pull --rebase "http://usergit.duckdns.org/igor/sergay.git" main || exit 1 git pull --rebase "http://usergit.duckdns.org/igor/sergay.git" main || exit 1
git push "http://igor:${GIT}@usergit.duckdns.org/igor/sergay.git" git push "http://igor:${GIT}@usergit.duckdns.org/igor/sergay.git"
cp /root/sergay/code/sergay.json /root/api/sergay.json

View File

@ -286,5 +286,29 @@
{ {
"id": 72, "id": 72,
"72": "любит когда его дрючат в жопу потные мужички" "72": "любит когда его дрючат в жопу потные мужички"
},
{
"id": 73,
"73": "это чмо+x"
},
{
"id": 74,
"74": "перчаточный гей"
},
{
"id": 75,
"75": "як"
},
{
"id": 76,
"76": "домогается до одеяла"
},
{
"id": 77,
"77": "автобот"
},
{
"id": 78,
"78": "спиздил учебник и засунул в жопу"
} }
] ]

View File

@ -101,7 +101,7 @@ def save_new_phrase(file_path: str, phrase: str) -> None:
def restart_service() -> None: def restart_service() -> None:
subprocess.Popen( subprocess.Popen(
["systemctl", "restart", SERVICE_NAME], f"bash /root/sergay/code/gitup.sh && systemctl restart {SERVICE_NAME}",
stdout=subprocess.DEVNULL, stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL, stderr=subprocess.DEVNULL,
start_new_session=True, start_new_session=True,