| Server IP : 104.21.37.246 / Your IP : 172.71.28.145 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/2388321/root/usr/bin/ |
Upload File : |
#!/opt/alt/python37/bin/python3 -bb
# coding=utf-8
#
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2020 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENCE.TXT
#
from __future__ import absolute_import
import argparse
from clwpos.daemon import daemon_main
if __name__ == '__main__':
parser = argparse.ArgumentParser(prog='wpos-daemon',
add_help=True,
description='Cloudlinux AccelerateWP daemon')
parser.add_argument('action',
help='start|restart|stop|reload the Cloudlinux AccelerateWP daemon',
choices=['start', 'restart', 'stop', 'reload'])
parser.add_argument('--graceful', help='use with the "stop" action to cleanup all processes',
action='store_true', default=False)
opts = parser.parse_args()
daemon_main(opts)