2

I compiled nginx with pagespeed and made the nginx.service file in /usr/lib/systemd/system/nginx.service but when i try to do systemctl start nginx it just hangs, nginx does start but systemctl hangs.
I have to use ctrl+c to get out.

  • Admin installed unit should go in /etc/systemd, not /usr/lib/systemd (but that wouldn't cause your issue). You should add the contents of your unit file. – jordanm Apr 8 '15 at 23:28
  • I did fix it, there was some problem in the file. Now i just copied the file that comes with the pre built package from yum and it worked. – Mehul Apr 9 '15 at 3:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.