add the old snippet md files

This commit is contained in:
Travis Shears 2025-06-05 16:20:57 +02:00
parent fc0dd204c7
commit bcf8313a4b
110 changed files with 3048 additions and 0 deletions

View file

@ -0,0 +1,22 @@
---
title: "restart nginx"
date: 2021-02-07T00:33:09+01:00
draft: false
snippet_types:
- nginx
---
Normally I use
```shell
$ sudo systemctl restart nginx
```
but recently I had to take more drastic measures.
```shell
sudo pkill -f nginx & wait $!
sudo systemctl start nginx
```
source -- [stackoverflow](https://stackoverflow.com/questions/14972792/nginx-nginx-emerg-bind-to-80-failed-98-address-already-in-use)