diff --git a/Run-uvicorn-at-boot.md b/Run-uvicorn-at-boot.md index 7bfb658..1815685 100644 --- a/Run-uvicorn-at-boot.md +++ b/Run-uvicorn-at-boot.md @@ -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/`.