mirror of
https://github.com/YGGverse/next.git
synced 2026-03-31 17:55:34 +00:00
update readme
This commit is contained in:
parent
fc40f4a30a
commit
4925c4ac6a
1 changed files with 5 additions and 4 deletions
|
|
@ -50,7 +50,8 @@ Launch server as the `systemd` service
|
||||||
|
|
||||||
Following example mean you have `next` server installed into home directory of `next` user (`useradd -m next`)
|
Following example mean you have `next` server installed into home directory of `next` user (`useradd -m next`)
|
||||||
|
|
||||||
1. `sudo nano /etc/systemd/system/next.service` - create new service:
|
1. `mkdir /home/next/public` - make sure you have created public folder
|
||||||
|
2. `sudo nano /etc/systemd/system/next.service` - create new service:
|
||||||
|
|
||||||
``` next.service
|
``` next.service
|
||||||
[Unit]
|
[Unit]
|
||||||
|
|
@ -69,6 +70,6 @@ Restart=on-failure
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
```
|
```
|
||||||
|
|
||||||
2. `sudo systemctl daemon-reload` - reload systemd configuration
|
3. `sudo systemctl daemon-reload` - reload systemd configuration
|
||||||
3. `sudo systemctl enable next` - enable `next` service on system startup
|
4. `sudo systemctl enable next` - enable `next` service on system startup
|
||||||
4. `sudo systemctl start next` - start `next` server
|
5. `sudo systemctl start next` - start `next` server
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue