Applicable to:
- Plesk for Linux
Symptoms
-
The nginx service does not start after a server reboot automatically.
-
The nginx service can be started without any issues via Plesk > Tools & Settings > Services Management or by executing this command:
# service nginx start
-
The nginx service is disabled:
# systemctl is-enabled nginx
disabled
Cause
The disabled services are not started automatically after the server startup.
Resolution
-
Connect to the server via SSH.
-
Enable the nginx service:
# systemctl enable nginx
Created symlink from /etc/systemd/system/multi-user.target.wants/nginx.service to /usr/lib/systemd/system/nginx.service. -
Make sure that the nginx service is enabled:
# systemctl is-enabled nginx
enabled
Comments
0 comments
Please sign in to leave a comment.