fix(show_uri): Comment out service active check for hysteria-server
This commit is contained in:
@ -130,9 +130,9 @@ def show_uri(args: argparse.Namespace) -> None:
|
|||||||
print("\033[0;31mError:\033[0m Database connection failed.")
|
print("\033[0;31mError:\033[0m Database connection failed.")
|
||||||
return
|
return
|
||||||
|
|
||||||
if not is_service_active("hysteria-server.service"):
|
# if not is_service_active("hysteria-server.service"):
|
||||||
print("\033[0;31mError:\033[0m Hysteria2 is not active.")
|
# print("\033[0;31mError:\033[0m Hysteria2 is not active.")
|
||||||
return
|
# return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(CONFIG_FILE, 'r') as f:
|
with open(CONFIG_FILE, 'r') as f:
|
||||||
|
|||||||
Reference in New Issue
Block a user