mirror of
https://github.com/etesync/server
synced 2025-02-16 18:32:00 +00:00
To match install documentation in Wiki
parent
c24baace94
commit
2b3f32f932
@ -12,13 +12,13 @@ Description=Execute the etebase server.
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/path/to/etebase
|
WorkingDirectory=/path/to/etebase
|
||||||
ExecStart=/path/to/etebase/venv/bin/uvicorn etebase_server.asgi:application --uds /tmp/etebase_server.sock
|
ExecStart=/path/to/etebase/.venv/bin/uvicorn etebase_server.asgi:application --uds /tmp/etebase_server.sock
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that we directly run the uvicorn which is located in our virtual environment (at `/path/to/etebase/venv`).
|
Note that we directly run the uvicorn which is located in our virtual environment (at `/path/to/etebase/.venv`).
|
||||||
If your virtual environment is located elsewhere, be sure to update this.
|
If your virtual environment is located elsewhere, be sure to update this.
|
||||||
|
|
||||||
Next, copy this to `/etc/systemd/system/`.
|
Next, copy this to `/etc/systemd/system/`.
|
||||||
|
Loading…
Reference in New Issue
Block a user