Skip to content

Instantly share code, notes, and snippets.

@lyovkin
Created May 30, 2019 14:33
Show Gist options
  • Save lyovkin/ac90488089afef271d349e5e846cd48e to your computer and use it in GitHub Desktop.
Save lyovkin/ac90488089afef271d349e5e846cd48e to your computer and use it in GitHub Desktop.
execute 'ps -ef | grep nginx'
get root nginx process
execute 'sudo kill 9 <process>'
execute 'sudo service nginx start'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment