Restart Services from SSH Print

  • 7

So you want to restart your cPanel services via SSH and don't know how use the article bellow:

Use the command: /usr/local/cpanel/scripts/restartsrv $service

Replace the $service with one of the bold service bellow.

eg: /usr/local/cpanel/scripts/restartsrv httpd

exim (Exim mail transfer agent (MTA).)

named (BIND nameserver daemon.)

proftpd (ProFTP FTP server daemon.)

pureftpd (Pure-FTP FTP server daemon.)

httpd (Apache web server daemon.)

courier (Courier mail server daemon.)

dovecot (Dovecot mail server daemon.)

syslogd (System logs daemon.)

clamd (Clam Antivirus software daemon.)

sshd (Secure shell (SSH) daemon)

inetd (Common Unix superserver daemon responsible for managing Internet services.)

cppop (cPanel’s version of POP3 mail downloading service. Similar to IMAP.)

imapd (IMAP mail downloading service. Similar to POP3.)

mysql (MySQL database server.)

postgresql (PostgreSQL database server.)

interchange (Interchange e-commerce server.)

tomcat (Java servlet container and HTTP server.)

entropychat (Chat service.)


Was this answer helpful?

« Back