Run bench in Production

how to run a bench on a production server.
when I first installed it I used it
“bench - site site1.local install-app erpnext”
and I want to restart the bench because I changed the file on assets. and I think I have to restart the bench … because I restarted nginx or supervisor, it hasn’t changed. is there another way to restart the bench on the production server ???
thank you

try bench --site site1.local install-app erpnext

sorry sagar. I want to know how to restart the bench that runs on the production server

https://frappe.io/docs/user/en/bench/guides/setup-production.html
try bench restart command or use above link to setup production.

@sagar
I have changed the file on assets and I want to restart the bench to compile file assets again. Thank

apt install libssl-dev -y
pip install --upgrade setuptools
pip install MySQL-python --no-use-wheel
#this sometimes gives a deprecation error, but works fine anyway, alternatively, you could use
#pip install --upgrade mysql-python

Try pip install -e /location/of/bench/installation (or something very similar, my syntax may be off).

The best way to make such changes is to fork the repository on github, make your changes there, and then install it like this pip install -e git+https://github.com/username/repo#egg=bench

have you find the solution ?