File: //proc/thread-self/root/proc/thread-self/root/proc/thread-self/root/usr/sbin/lvdctl
#!/opt/cloudlinux/venv/bin/python3 -bb
# coding=utf-8
#
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2026 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT
#
# DEPRECATED: lvdctl is replaced by isolatectl.
# This wrapper prints a deprecation warning and delegates to
# ``isolatectl limits <subcommand> [args...]``.
import os
import sys
def main():
print("Warning: lvdctl is deprecated. "
"Use 'isolatectl limits <command>' instead.",
file=sys.stderr)
argv = ['isolatectl', 'limits'] + sys.argv[1:]
os.execvp('isolatectl', argv)
if __name__ == '__main__':
main()