Account and System Management : System Management : Services : Restarting Metasploit Services on Linux

Restarting Metasploit Services on Linux
1.)
2.)
Use the cd command to change the directory path to the Metasploit directory location. If you installed Metasploit in the default directory, type the following:
$ cd /opt/metasploit-4.4.0
Note:
3.)
/opt/metasploit-4.4.0$ sudo bash ctlscript.sh restart
4.)
After you enter the sudo password, the system stops and restarts all services associated with Metasploit. This includes prosvc, nginx, and PostgreSQL.
After the system restarts the services, wait a few minutes before you access the Metasploit Web Interface.