1
0
mirror of https://github.com/searx/searx-docker.git synced 2024-11-23 02:22:35 +01:00
searx-docker/searx-docker.service.template
Dalf 86f1f7e22d Mainly add searx/searx-checker
- Add searx/searx-checker image with automatic check everyday. Result https://${HOSTNAME}/status
- Cache /static files
- Add start.sh, stop.sh, update.sh
2019-07-09 18:05:05 +02:00

18 lines
305 B
Plaintext

<[Unit]
Description=searx service
Requires=docker.service
After=docker.service
[Service]
Restart=always
Environment=SEARX_DOCKERCOMPOSEFILE=docker-compose.yaml
WorkingDirectory=/usr/local/searx-docker
ExecStart=/bin/sh -c "start.sh"
ExecStop=/bin/sh -c "stop.sh"
[Install]
WantedBy=multi-user.target