1
0
mirror of https://github.com/etesync/server synced 2024-11-22 08:48:07 +00:00

To match install documentation in Wiki

Jordan ERNST 2021-08-14 19:39:43 +02:00
parent c24baace94
commit 2b3f32f932

@ -12,13 +12,13 @@ Description=Execute the etebase server.
[Service]
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]
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.
Next, copy this to `/etc/systemd/system/`.