There was a problem loading the comments.

How do I restart a service?

Support Portal  »  Knowledge Base  »  Viewing Article

  Print
You will need:
  1. SSH access
  2. An SSH client (we recommend putty)
Log in to the server as root and run the command
/etc/init.d/service restart (replace the word service with the service you want to restart)

Most common:
  • /etc/init.d/mysqld restart - MySQL server
  • /etc/init.d/php-fpm restart - PHP FPM
  • /etc/init.d/apache2 restart - Apache (SUSE systems)
  • /etc/init.d/httpd restart - Apache (CentOS and Ubuntu)
  • /etc/init.d/nginx restart - Nginx


Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal

Tags

© Humanfrog