0

enter image description here

I noticed that on my RHEL 7 server on GCP, my enabled services (such as the test.service) will only start if I kill the multi-user.target service using systemctl. Would there be any reason the multi-user.target would hang things?

1 Answer 1

0

I guess you misunderstand what is shown there.

  • google-startup-scripts.service is blocking everything.

  • test.service is waiting for multi-user.target (without a hard dependency i.e. with Wants= or without dependency and with ordering only).

  • Stopping the job for multi-user.target allows all processes which are waiting for it without requiring it to continue (those with a requirement fail).

Killing / stopping google-startup-scripts.service would be the better approach. Check why this does not finish.

2
  • You were right - it was the startup script. What's strange though, is that this startup script only recently started to do this. The startup script is supposed to launch Charles Proxy in the background...which it does, but looks like now, it starts to hang and block other services from executing. Commented Jan 23 at 4:52
  • @ThanoojJ Then you should accept this answer so that people do not assume this question is still unanswered. Commented Jan 23 at 9:12

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.