1
0
mirror of https://github.com/searx/searx-docker.git synced 2024-11-26 03:52:31 +01:00
searx-docker/searx-docker.service.template

17 lines
334 B
Plaintext
Raw Normal View History

2019-07-11 17:12:54 +02:00
[Unit]
Description=searx service
Requires=docker.service
After=docker.service
[Service]
Restart=always
2019-07-11 17:12:54 +02:00
Environment=SEARX_DIR=/usr/local/searx-docker
Environment=SEARX_DOCKERCOMPOSEFILE=docker-compose.yaml
2019-07-11 17:12:54 +02:00
ExecStart=/bin/sh -c "${SEARX_DIR}/start.sh"
ExecStop=/bin/sh -c "${SEARX_DIR}/stop.sh"
[Install]
WantedBy=multi-user.target