Skip to content

Instantly share code, notes, and snippets.

@fahadsiddiqui
Created November 8, 2018 16:56
Show Gist options
  • Select an option

  • Save fahadsiddiqui/5ace540cf1989c33d10ca7b043c4a469 to your computer and use it in GitHub Desktop.

Select an option

Save fahadsiddiqui/5ace540cf1989c33d10ca7b043c4a469 to your computer and use it in GitHub Desktop.
systemctl is-active --quiet postgresql && echo "Running..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment