Sindbad~EG File Manager
#!/opt/alt/python37/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
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
from clcommon.public_hooks.bundle.plesk.lib import physical_hosting_updated
def main():
old_system_user = os.environ.get('OLD_SYSTEM_USER')
new_system_user = os.environ.get('NEW_SYSTEM_USER')
exit(physical_hosting_updated(old_system_user, new_system_user))
if __name__ == '__main__':
main()
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists