- OS support systemd
- Python 3
- pyinotify installed
- change paths in nginx-autoreload.py and nginx-autoreload.service and make configurations
- copy nginx-autoreload.service to
/etc/systemd/system/
- run command
sudo systemctl daemon-reload sudo systemctl start nginx-autoreload.service