aboutsummaryrefslogtreecommitdiff
path: root/tools/cru-py/cru/service/nginx.py
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-11-11 01:12:29 +0800
committerYuqian Yang <crupest@crupest.life>2024-12-18 18:31:27 +0800
commit95da3ade5bfa6ef39923cd3fc2a551ad983c1537 (patch)
treed2bf4e40bf625c75768d5ccda2ca49dbaba97a9a /tools/cru-py/cru/service/nginx.py
parenteff33fcbc8e78b1cd15332c229cd39ae9befbe5e (diff)
downloadcrupest-95da3ade5bfa6ef39923cd3fc2a551ad983c1537.tar.gz
crupest-95da3ade5bfa6ef39923cd3fc2a551ad983c1537.tar.bz2
crupest-95da3ade5bfa6ef39923cd3fc2a551ad983c1537.zip
HALF WORK: 2024.11.12
Diffstat (limited to 'tools/cru-py/cru/service/nginx.py')
-rw-r--r--tools/cru-py/cru/service/nginx.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/cru-py/cru/service/nginx.py b/tools/cru-py/cru/service/nginx.py
index f9120de..94c4375 100644
--- a/tools/cru-py/cru/service/nginx.py
+++ b/tools/cru-py/cru/service/nginx.py
@@ -2,15 +2,10 @@ import json
import os
import re
import subprocess
-from os.path import join, basename, dirname
from typing import Literal, Any, cast, ClassVar
import jsonschema
-from crupest.template2 import Template2
-from crupest.tui import Paths, UserFriendlyException, create_dir_if_not_exists, console, Confirm, ensure_dir
-from crupest.ui_base import file_name_style
-
def restart_nginx(force=False) -> bool:
if not force: