... | @@ -28,10 +28,8 @@ ln -s ~/xibo-booking-system/conf/systemd user |
... | @@ -28,10 +28,8 @@ ln -s ~/xibo-booking-system/conf/systemd user |
|
```
|
|
```
|
|
5. Systemd (as user xbs):
|
|
5. Systemd (as user xbs):
|
|
```
|
|
```
|
|
systemctl --user enable xbs-gunicorn.service
|
|
systemctl --user enable --now xbs-gunicorn.socket
|
|
systemctl --user enable xbs-polling.service
|
|
systemctl --user enable --now xbs-polling.service
|
|
systemctl --user start xbs-gunicorn.service
|
|
|
|
systemctl --user start xbs-polling.service
|
|
|
|
```
|
|
```
|
|
6. Nginx (as user root):
|
|
6. Nginx (as user root):
|
|
- copy config from directory nginx
|
|
- copy config from directory nginx
|
... | | ... | |