Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 406 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 406 Bytes

Nginx Autoreload Service

Prerequisites

  • OS support systemd
  • Python 3
  • pyinotify installed

Usages

  • 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