searxng-docker/searxng-docker.service.temp...

17 lines
419 B
Plaintext
Raw Permalink Normal View History

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
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