mtprotoproxy
mtprotoproxy copied to clipboard
add user without restarting the service
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?
You can send SIGUSR2 to the process.
After editing the Config.py you can run the code below:
ps -ef | grep */mtprotoproxy.py | awk '{print $2}' | xargs sudo kill -SIGUSR2