Horje
Managing the Nginx Process Code Example
Managing the Nginx Process
To stop your web server, type:
$ sudo systemctl stop nginx
To start the web server when it is stopped, type:
$ sudo systemctl start nginx
To stop and then start the service again, type
$ sudo systemctl restart nginx
If you are simply making configuration changes, Nginx can often reload without dropping connections. To do this, type:
$ sudo systemctl reload nginx
By default, Nginx is configured to start automatically when the server boots. If this is not what you want, you can disable this behavior by typing:
$ sudo systemctl disable nginx
To re-enable the service to start up at boot, you can type:
$ sudo systemctl enable nginx




Shell

Related
trimspace in bact file Code Example trimspace in bact file Code Example
git source autocomplete Code Example git source autocomplete Code Example
net speed monitor for ubuntu Code Example net speed monitor for ubuntu Code Example
ubuntu turn off screen terminal Code Example ubuntu turn off screen terminal Code Example
haskell Code Example haskell Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8