Skip to content

Instantly share code, notes, and snippets.

@caasig
Last active March 31, 2016 06:13
Show Gist options
  • Save caasig/ca4fb17147c238ea2f7bb408c59ab0a9 to your computer and use it in GitHub Desktop.
Save caasig/ca4fb17147c238ea2f7bb408c59ab0a9 to your computer and use it in GitHub Desktop.
Server stuff

Tell apache to gracefully reload its configuration. May need to use sudo.

$ apache2ctl graceful

Send SIGHUP to dnsmasq service to reload hosts file without restarting. May need to use sudo.

$ killall -HUP dnsmasq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment