mtprotoproxy icon indicating copy to clipboard operation
mtprotoproxy copied to clipboard

add user without restarting the service

Open ali-jk opened this issue 4 years ago • 2 comments

as you know I can see the users' network usage, msgs, and... in log when I wanna add new users in Config.py it required to restart the service and all the previous data in the log will reset too so is there any way to edit Config.py without losing the log?

ali-jk avatar May 23 '20 08:05 ali-jk

You can send SIGUSR2 to the process.

HosseyNJF avatar May 23 '20 12:05 HosseyNJF

After editing the Config.py you can run the code below: ps -ef | grep */mtprotoproxy.py | awk '{print $2}' | xargs sudo kill -SIGUSR2

pouryare avatar May 23 '20 12:05 pouryare