mirror of
https://github.com/searxng/searxng-docker.git
synced 2025-12-23 04:00:02 +00:00
Updated version of "Start SearXNG with systemd"
* Update: grammatical correctness in README.md * Update: grammatical accuracy on README.md * Update: enhance readability and include proper syntax highlighting for the commands under "Start SearXNG with systemd" in README.md Update: enhance readability and include proper syntax highlighting for the commands under "Start SearXNG with systemd" in README.md Update README.md Update README.md Update README.md Update: enhance readability and included proper syntax highlighting for the commands under "Start SearXNG with systemd" in README.md Update: Space Fix! Update: Space Fixing in cp command
This commit is contained in:
committed by
GitHub
parent
271ba86644
commit
a899b72a50
24
README.md
24
README.md
@@ -61,14 +61,24 @@ To access the logs of one specific container:
|
|||||||
### Start SearXNG with systemd
|
### Start SearXNG with systemd
|
||||||
|
|
||||||
You can skip this step if you don't use 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
|
||||||
|
```
|
||||||
|
|
||||||
- ```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```)
|
||||||
- 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:
|
3. Enable the service:
|
||||||
```sh
|
```sh
|
||||||
systemctl enable $(pwd)/searxng-docker.service
|
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
|
## Note on the image proxy feature
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user