ponysearch-docker/searxng-docker.service.template

17 lines
419 B
Text
Raw Permalink Normal View History

2021-10-01 09:42:00 +02:00
[Unit]
Description=SearXNG service
Requires=docker.service
After=docker.service
[Service]
2022-04-20 20:31:26 +02:00
Restart=on-failure
2021-10-01 09:42:00 +02:00
2022-04-22 09:45:47 +02:00
Environment=SEARXNG_DOCKERCOMPOSEFILE=docker-compose.yaml
2022-04-20 20:31:26 +02:00
WorkingDirectory=/usr/local/searxng-docker
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 09:42:00 +02:00
[Install]
WantedBy=multi-user.target