diff options
author | crupest <crupest@outlook.com> | 2024-11-11 01:12:29 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2024-12-18 18:31:27 +0800 |
commit | 95da3ade5bfa6ef39923cd3fc2a551ad983c1537 (patch) | |
tree | d2bf4e40bf625c75768d5ccda2ca49dbaba97a9a /tools/cru-py/cru/service/nginx.py | |
parent | eff33fcbc8e78b1cd15332c229cd39ae9befbe5e (diff) | |
download | crupest-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.py | 5 |
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: |