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/
extension-upgraded.67897/#o67955
"""
from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
from clcommon.public_hooks.bundle.plesk.lib import domain_updated
import os
def main():
old_domain_name = os.environ.get('OLD_DOMAIN_NAME')
new_domain_name = os.environ.get('NEW_DOMAIN_NAME')
exit(domain_updated(old_domain_name, new_domain_name))
if __name__ == '__main__':
main()
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists