diff --git a/app/modules/roxywi/roxy.py b/app/modules/roxywi/roxy.py index cd102ff0..2a0314d9 100644 --- a/app/modules/roxywi/roxy.py +++ b/app/modules/roxywi/roxy.py @@ -93,11 +93,14 @@ def update_user_status() -> None: def action_service(action: str, service: str) -> str: is_in_docker = is_docker() - cmd = f"sudo systemctl disable {service} --now" - if action in ("start", "restart"): - cmd = f"sudo systemctl {action} {service} --now" - if not roxy_sql.select_user_status(): - return 'warning: The service is disabled because you are not subscribed. Read here about subscriptions' if is_in_docker: cmd = f"sudo supervisorctl {action} {service}"