mirror of
https://github.com/searxng/searxng-docker.git
synced 2025-12-22 19:50:00 +00:00
SearXNG
This commit is contained in:
16
searxng-docker.service.template
Normal file
16
searxng-docker.service.template
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=SearXNG service
|
||||
Requires=docker.service
|
||||
After=docker.service
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
Environment=SEARXNG_DIR=/usr/local/searxng-docker
|
||||
Environment=SEARXNG_DOCKERCOMPOSEFILE=docker-compose.yaml
|
||||
|
||||
ExecStart=/bin/sh -c "${SEARXNG_DIR}/start.sh"
|
||||
ExecStop=/bin/sh -c "${SEARXNG_DIR}/stop.sh"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user