diff --git a/README.md b/README.md index d4fb548..966d269 100644 --- a/README.md +++ b/README.md @@ -61,14 +61,24 @@ To access the logs of one specific container: ### Start SearXNG with systemd You can skip this step if you don't use systemd. +1. Copy the service template file: + ```sh + cp searxng-docker.service.template searxng-docker.service + ``` + +2. Edit the content of ```WorkingDirectory``` in the ```searxng-docker.service``` file (only if the installation path is different from ```/usr/local/searxng-docker```) + +3. Enable the service: + ```sh + systemctl enable $(pwd)/searxng-docker.service + ``` -- ```cp searxng-docker.service.template searxng-docker.service``` -- edit the content of ```WorkingDirectory``` in the ```searxng-docker.service``` file (only if the installation path is different from /usr/local/searxng-docker) -- Install the systemd unit: - ```sh - systemctl enable $(pwd)/searxng-docker.service - systemctl start searxng-docker.service - ``` +4. Start the service: + ```sh + systemctl start searxng-docker.service + ``` + +**Note:** Ensure the service file path matches your installation directory before enabling it. ## Note on the image proxy feature