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

17 lines
346 B
Plaintext
Raw Normal View History

2021-10-01 07:42:00 +00:00
[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