master
nova 4 years ago
parent
commit
cabffe9ecd
  1. 6
      Installation.md

6
Installation.md

@ -76,15 +76,15 @@ server {
```
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```
and restart nginx - ``` sudo systemctl restart nginx```
and restart nginx - ```bash sudo systemctl restart nginx```
Now create a linux user -
```bash sudo useradd -r -s /bin/false```
Next create a systemd script making use of the created user-
```
```systemd
[Unit]
Description=System Daemon for Chatto

Loading…
Cancel
Save