Skip to content

Instantly share code, notes, and snippets.

@Bogdaan
Forked from jrumbut/reload-nginx.sh
Created September 21, 2018 07:07
Show Gist options
  • Save Bogdaan/92d7206c42a1cc4f15289d7ae6ac7261 to your computer and use it in GitHub Desktop.
Save Bogdaan/92d7206c42a1cc4f15289d7ae6ac7261 to your computer and use it in GitHub Desktop.
Reload nginx process manually by sending HUP signal
#!/bin/bash
kill -HUP `cat /var/run/nginx.pid`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment