nova 2020-05-30 16:13:10 +00:00
parent 06b230d135
commit cabffe9ecd

@ -76,15 +76,15 @@ server {
``` ```
Place the file in ```bash /etc/nginx/sites-available/``` (depending on your linux distro this may differ). Place the file in ```bash /etc/nginx/sites-available/``` (depending on your linux distro this may differ).
Now make a symlink - ```bash sudo ln -s /etc/nginx/sites-available/chatto /nginx/sites-enabled Now make a symlink - ```bash sudo ln -s /etc/nginx/sites-available/chatto /nginx/sites-enabled```
verify configration - ```bash sudo nginx -t``` verify configration - ```bash sudo nginx -t```
and restart nginx - ``` sudo systemctl restart nginx``` and restart nginx - ```bash sudo systemctl restart nginx```
Now create a linux user - Now create a linux user -
```bash sudo useradd -r -s /bin/false``` ```bash sudo useradd -r -s /bin/false```
Next create a systemd script making use of the created user- Next create a systemd script making use of the created user-
``` ```systemd
[Unit] [Unit]
Description=System Daemon for Chatto Description=System Daemon for Chatto