REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 945 B
Close
/opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/public_hooks/bundle/plesk/bin/physical_hosting_updated
Text
Base64
#!/opt/cloudlinux/venv/bin/python3 -bb # -*- coding: utf-8 -*- # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2018 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENSE.TXT # """ https://docs.plesk.com/en-US/onyx/administrator-guide/ server-administration/event-parameters-passed-by-event-handlers.67897/ #physical-hosting-updated """ import os from clcommon.public_hooks.bundle.plesk.lib import ( physical_hosting_updated, domain_updated ) def main(): old_system_user = os.environ.get('OLD_SYSTEM_USER') new_system_user = os.environ.get('NEW_SYSTEM_USER') rc = physical_hosting_updated(old_system_user, new_system_user) old_domain_name = os.environ.get('OLD_DOMAIN_NAME') new_domain_name = os.environ.get('NEW_DOMAIN_NAME') rc = rc + domain_updated(old_domain_name, new_domain_name) exit(rc) if __name__ == '__main__': main()
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
domain_updated
709 B
lrwxr-xr-x
2026-06-03 13:38:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
physical_hosting_created
774 B
lrwxr-xr-x
2026-06-03 13:38:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
physical_hosting_deleted
790 B
lrwxr-xr-x
2026-06-03 13:38:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
physical_hosting_updated
945 B
lrwxr-xr-x
2026-06-03 13:38:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
plan_updated
577 B
lrwxr-xr-x
2026-06-03 13:38:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).