You are here

function hostingService_http_nginx::default_restart_cmd in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 web_server/nginx/hosting_nginx.service.inc \hostingService_http_nginx::default_restart_cmd()
  2. 7.3 web_server/nginx/hosting_nginx.service.inc \hostingService_http_nginx::default_restart_cmd()

Overrides hostingService::default_restart_cmd

File

web_server/nginx/hosting_nginx.service.inc, line 14

Class

hostingService_http_nginx

Code

function default_restart_cmd() {
  return 'sudo /etc/init.d/nginx reload';
}