work : поправил путь для Linux
This commit is contained in:
@@ -113,7 +113,7 @@ class ServiceFunctions:
|
|||||||
FileNotFoundError: Если файл config.conf не найден.
|
FileNotFoundError: Если файл config.conf не найден.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
config_path = "/etc/caddy-to-dsm/config.conf"
|
config_path = Path("/etc/caddy-to-dsm/config.conf")
|
||||||
|
|
||||||
if not config_path.is_file():
|
if not config_path.is_file():
|
||||||
logging.error(f"Config file not found: {config_path}")
|
logging.error(f"Config file not found: {config_path}")
|
||||||
|
|||||||
Reference in New Issue
Block a user