Submit
Path:
~
/
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
clconfigure
/
File Content:
limits.py
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2018 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # https://cloudlinux.com/docs/LICENCE.TXT # from __future__ import absolute_import from clconfigure import task, run @task("Changing default limits state to '{desired_state}'") def set_default_limits_state(desired_state): """ Brings default limits to given state (unlimited | default). May be executed more that once, does't crash on future calls """ if desired_state == 'unlimited': run(['lvectl', 'set', 'default', 'unlimited']) else: raise RuntimeError('Another states temporary unavailable')
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
__pycache__
---
0755
cli
---
0755
__init__.py
2865 bytes
0644
limits.py
678 bytes
0644
packages.py
2070 bytes
0644
services.py
2104 bytes
0644
N4ST4R_ID | Naxtarrr