2021-10-01 07:42:00 +00:00
|
|
|
[Unit]
|
|
|
|
Description=SearXNG service
|
|
|
|
Requires=docker.service
|
|
|
|
After=docker.service
|
|
|
|
|
|
|
|
[Service]
|
2022-04-20 18:31:26 +00:00
|
|
|
Restart=on-failure
|
2021-10-01 07:42:00 +00:00
|
|
|
|
2022-04-22 07:45:47 +00:00
|
|
|
Environment=SEARXNG_DOCKERCOMPOSEFILE=docker-compose.yaml
|
|
|
|
|
2022-04-20 18:31:26 +00:00
|
|
|
WorkingDirectory=/usr/local/searxng-docker
|
2024-04-17 12:02:09 +00:00
|
|
|
ExecStart=/usr/local/bin/docker compose -f ${SEARXNG_DOCKERCOMPOSEFILE} up --remove-orphans
|
|
|
|
ExecStop=/usr/local/bin/docker compose -f ${SEARXNG_DOCKERCOMPOSEFILE} down
|
2021-10-01 07:42:00 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|