Skip to content

Instantly share code, notes, and snippets.

@rms1000watt
Created September 20, 2024 23:16
Show Gist options
  • Save rms1000watt/d438f4d285250aba61d501034171898f to your computer and use it in GitHub Desktop.
Save rms1000watt/d438f4d285250aba61d501034171898f to your computer and use it in GitHub Desktop.
why isn't my systemd service starting? why is my systemd service hanging when i restart it?
# if myservice hangs when you run
sudo systemctl restart myservice
# the check it's dependencies and whats trying to run
sudo systemctl list-dependencies myservice
sudo systemctl list-jobs
# The job that's "start running" is the blocker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment